1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recursively applying PKGRESPOSITORY

Discussion in 'Installation and Maintenance of Ports or Packages' started by gvkv, Aug 19, 2010.

  1. gvkv

    gvkv New Member

    Messages:
    9
    Thanks Received:
    0
    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.
     
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,605
    Thanks Received:
    2,381
    Try using PACKAGES instead of PKGREPOSITORY.
     
  3. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,765
    Thanks Received:
    1,870
    Or spell it right .. ;) It's neither PKGRESPOSITORY nor PKGREPSOITORY.
     
  4. gvkv

    gvkv New Member

    Messages:
    9
    Thanks Received:
    0
    That didn't work.
     
  5. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,605
    Thanks Received:
    2,381
    One really simple solution that doesn't involve variables:
    # mount -t nullfs /usr/home/gvkv/packages /usr/ports/packages
     
    gvkv thanks for this.