[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc/mail/sendmail anomalies
Le 25/12/12 02:05, Greg Troxel a écrit :
Richard PALO <richard.palo%baou.fr@localhost> writes:
USE_DESTDIR is not meant to be set in package.
Well, it don't install unless super-user without this. How to do this then?
USE_DESTDIR is to be set in mk.conf, to specify if the human running the
machine wants to use DESTDIR mode. Currently, it's standard to use
DESTDIR mode and beginning to be somewhat unusual not to.
For an individual package, a different variable is used. From
* PKG_DESTDIR_SUPPORT has to be set to "none", "destdir", or "user-destdir".
By default PKG_DESTDIR_SUPPORT is set to "user-destdir" to help catching
more potential packaging problems. If bsd.prefs.mk is included in the
Makefile, PKG_DESTDIR_SUPPORT needs to be set before the inclusion.
So the package, if it really needs root to build/install, should set
I tried both PKG_DESTDIR_SUPPORT=destdir and =none
Both fail during install with this type of message:
Making install in:
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11,
arch=i86pc, sfx=, variant=optimized
if [ ! -d /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc ];
then mkdir -p
/tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc; else :; fi
../../devtools/bin/install.sh -c -o bin -g bin -m 444 helpfile
*** Error code 1
make: stopped in
Why does it seem to work correctly with USE_DESTDIR=full ?
Main Index |
Thread Index |