Commit 55f940d9 authored by Mike Hibler's avatar Mike Hibler

Fix so it will build under FreeBSD 10.1.

parent 34517320
...@@ -62,12 +62,11 @@ PATCH_SUBDIRS= common minires dst omapip ...@@ -62,12 +62,11 @@ PATCH_SUBDIRS= common minires dst omapip
PATCH_SUBDIRS+= client PATCH_SUBDIRS+= client
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
PORTDOCS= LICENSE README RELNOTES PORTDOCS=
.endif .endif
BIN_FILES= dhclient BIN_FILES= dhclient
LOCAL_CONF_FILES= dhclient.conf LOCAL_CONF_FILES= dhclient.conf
SAMP_FILES= client/dhclient.conf SAMP_FILES= client/dhclient.conf
DATA_FILES= dhclient.leases
SAMP_SUFX= .sample SAMP_SUFX= .sample
...@@ -185,11 +184,8 @@ create-conf-files: ...@@ -185,11 +184,8 @@ create-conf-files:
.endfor .endfor
create-data-files: create-data-files:
.for f in ${DATA_FILES}
.if !exists(${DATADIR}/${f}) install-rc-script:
@${TOUCH} ${DATADIR}/${f}
.endif
.endfor
configure-package: configure-package:
......
@comment $FreeBSD: ports/net/isc-dhcp31-client/pkg-plist,v 1.3 2004/06/26 08:46:05 eik Exp $ @comment $FreeBSD: ports/net/isc-dhcp31-client/pkg-plist,v 1.3 2004/06/26 08:46:05 eik Exp $
etc/dhclient.conf.sample
@exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf @exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf
@unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf @unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf
sbin/dhclient sbin/dhclient
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment