pkgsrc-Users archive

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

DESTDIR and CONF_FILES



How should these two go together? I tried to create a package of pkgtools/rc.subr but it fails like this:

===> Installing for rc.subr-20090118
=> Creating installation directories
/usr/bin/install -c -o root -g wheel -m 644 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.conf.example /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir/etc/rc.conf.example /usr/bin/install -c -o root -g wheel -m 644 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.subr /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir/etc/rc.subr /usr/bin/install -c -o root -g wheel -m 755 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.d/DAEMON /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir//etc/rc.d /usr/bin/install -c -o root -g wheel -m 755 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.d/LOGIN /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir//etc/rc.d /usr/bin/install -c -o root -g wheel -m 755 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.d/NETWORKING /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir//etc/rc.d /usr/bin/install -c -o root -g wheel -m 755 /home/pkgsrc/pkgtools/rc.subr/work.i386/rc.subr-20090118/rc.d/SERVERS /home/pkgsrc/pkgtools/rc.subr/work.i386/.destdir//etc/rc.d
=> Automatic manual page handling
ERROR: CONF_FILE /etc/rc.conf.example does not exist.
*** Error code 1

Can I add ${DESTDIR} to the CONF_FILES or is that wrong?

Martti


Home | Main Index | Thread Index | Old Index