DragonFly bugs List (threaded) for 2004-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: man dhclient
Excellent sleuthing! I had only tested with a standard
make.
In it goes.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
:On Tue, Jul 20, 2004 at 06:05:12PM -0700, Matthew Dillon wrote:
:> bsd.prog.mk includes bsd.man.mk automatically, unless NOMAN is set.
:> As far as I can tell dhclient is installing its man pages properly.
:
:Oops, you're right. The real problem is that there's following line
:in /usr/src/sbin/dhclient/Makefile.inc:
:MANFILTER= perl -pe 's\#DBDIR\#${DBDIR}\#g;s\#ETCDIR\#${ETCDIR}\#g;s\#CLIENTBINDIR\#${CLIENTBINDIR}\#g;s\#RUNDIR\#${RUNDIR}\#g;'
:
:Problem here is that we no longer compile (mini?)perl during bootstrap
:stage, and since WMAKE uses STRICTTMPPATH, perl from the system is not
:available. Though I haven't gone through full buildworld, the following
:patch should work:
:
:Index: sbin/dhclient/Makefile.inc
:===================================================================
:RCS file: /home/source/dragonfly/cvs/src/sbin/dhclient/Makefile.inc,v
:retrieving revision 1.4
:diff -u -r1.4 Makefile.inc
:--- sbin/dhclient/Makefile.inc 4 Feb 2004 00:48:39 -0000 1.4
:+++ sbin/dhclient/Makefile.inc 21 Jul 2004 01:41:41 -0000
:@@ -10,7 +10,7 @@
: ETCDIR= /etc
: DBDIR= /var/db
:
:-MANFILTER= perl -pe 's\#DBDIR\#${DBDIR}\#g;s\#ETCDIR\#${ETCDIR}\#g;s\#CLIENTBINDIR\#${CLIENTBINDIR}\#g;s\#RUNDIR\#${RUNDIR}\#g;'
:+MANFILTER= sed -e 's\#DBDIR\#${DBDIR}\#g;s\#ETCDIR\#${ETCDIR}\#g;s\#CLIENTBINDIR\#${CLIENTBINDIR}\#g;s\#RUNDIR\#${RUNDIR}\#g;'
:
: .if exists(${.OBJDIR}/../common)
: LIBDHCP= ${.OBJDIR}/../common/libdhcp.a
:
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]