cefd [Solved] Recursively applying PKGRESPOSITORY - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old August 19th, 2010, 03:46
gvkv gvkv is offline
Junior Member
 
Join Date: Jun 2010
Posts: 9
Thanks: 4
Thanked 0 Times in 0 Posts
Default Recursively applying PKGRESPOSITORY

I'm trying to create a package of Apache and its dependencies:

Code:
sudo make package-recursive \
__MAKE_CONF=~/make.apache22.conf \
PKGREPSOITORY=/usr/home/gvkv
Everything works fine except that only apache22.tbz ends up in gvkv; the dependency packages are built in their respective ports/<package> directories! There are about fifteen of them and while it's easy enough to retrieve them with find and a perl one-liner, surely there must be a way to tell make to run in an environment such that the dependency packages end up in gvkv.
Reply With Quote
  #2  
Old August 19th, 2010, 07:50
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Try using PACKAGES instead of PKGREPOSITORY.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old August 19th, 2010, 16:38
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,817
Thanks: 30
Thanked 1,883 Times in 1,329 Posts
Default

Or spell it right .. It's neither PKGRESPOSITORY nor PKGREPSOITORY.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---

Last edited by DutchDaemon; August 20th, 2010 at 17:43.
Reply With Quote
  #4  
Old August 20th, 2010, 06:43
gvkv gvkv is offline
Junior Member
 
Join Date: Jun 2010
Posts: 9
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Try using PACKAGES instead of PKGREPOSITORY.
That didn't work.
Reply With Quote
  #5  
Old August 20th, 2010, 07:39
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

One really simple solution that doesn't involve variables:
# mount -t nullfs /usr/home/gvkv/packages /usr/ports/packages
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
gvkv (August 20th, 2010)
Reply

Tags
make package

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help - Applying patches to FreeBSD 8.0 Jana Installing & Upgrading 5 May 23rd, 2010 16:52
[Solved] mv directory recursively hirohitosan Userland Programming & Scripting 3 February 14th, 2010 17:21
portupgrade and recursively exlude SIFE Installation and Maintenance of FreeBSD Ports or Packages 2 January 16th, 2010 01:23
[Solved] Applying FreeBSD patches for epiphany-2.28.2 error enderli Installation and Maintenance of FreeBSD Ports or Packages 1 December 18th, 2009 16:57
Handling ports (recursively and obsolete) jwhendy Installation and Maintenance of FreeBSD Ports or Packages 20 May 2nd, 2009 00:19


All times are GMT +1. The time now is 19:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0