Module Name: src
Committed By: riastradh
Date: Fri Dec 2 02:41:54 UTC 2016
Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
Log Message:
Respect MKSHARE=no.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.33 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.34
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.33 Sun Oct 9 09:23:59 2016
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Fri Dec 2 02:41:54 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2016/10/09 09:23:59 roy Exp $
+# $NetBSD: Makefile,v 1.34 2016/12/02 02:41:54 riastradh Exp $
#
WARNS?= 6
@@ -67,11 +67,13 @@ FILESDIR= /libexec/dhcpcd-hooks
EGHOOKS= 10-wpa_supplicant 15-timezone 29-lookup-hostname
EGHOOKS+= 50-ypbind
+.if ${MKSHARE} != "no"
EGFILES= ${EGHOOKS:C,^,${DIST}/dhcpcd-hooks/,}
FILES+= ${EGFILES}
.for f in ${EGFILES}
FILESDIR_${f}= /usr/share/examples/dhcpcd/hooks
.endfor
+.endif
MAN= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8