pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to build a package without installation from pkgsrc



Hi,

> Hello! I am a new in NetBSD. Can you help to find out the subj.?
>
> On my PC package B is installed. But I would like to build this package B
> for my friend from pkgsrc because my friend does not want to download it
> or
> build from source. If I try to do in this case I get an error that package
> B
> is already installed.
> How can I install package B without reinstallation?
>

I'm using the following in /etc/mk.conf:
CLEANDEPENDS=                   YES
DEPENDS_TARGET=                 package
PACKAGES=                      
${PKGBINDIR}/${OPSYS}-${OS_VERSION}/${MACHINE_ARCH}

This build binary packages as soon as I build/rebuild/update any pkgsrc on
any of my system.





Home | Main Index | Thread Index | Old Index