summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorgutteridge <gutteridge@NetBSD.org>2023-07-05 00:26:38 +0000
committergutteridge <gutteridge@NetBSD.org>2023-07-05 00:26:38 +0000
commit7bc56d8aaf833b6b2a3a42f7cac3566ebb5aeff0 (patch)
tree96de4df31b3c62edd797d22edc36673cec8b8570 /external
parent65f181473371a43b75322ff0cc95f6b33ac845ca (diff)
Install a copy of dhcpcd.conf under /usr/share/examples
Addresses PR bin/57487 from Taylor R Campbell.
Diffstat (limited to 'external')
-rw-r--r--external/bsd/dhcpcd/examples/Makefile4
-rw-r--r--external/bsd/dhcpcd/examples/conf/Makefile14
2 files changed, 16 insertions, 2 deletions
diff --git a/external/bsd/dhcpcd/examples/Makefile b/external/bsd/dhcpcd/examples/Makefile
index 7024f06ffd4..c56d37f967e 100644
--- a/external/bsd/dhcpcd/examples/Makefile
+++ b/external/bsd/dhcpcd/examples/Makefile
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.1 2017/04/02 20:18:37 roy Exp $
+# $NetBSD: Makefile,v 1.2 2023/07/05 00:26:38 gutteridge Exp $
-SUBDIR= hooks
+SUBDIR= conf hooks
.include <bsd.subdir.mk>
diff --git a/external/bsd/dhcpcd/examples/conf/Makefile b/external/bsd/dhcpcd/examples/conf/Makefile
new file mode 100644
index 00000000000..065e505620c
--- /dev/null
+++ b/external/bsd/dhcpcd/examples/conf/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2023/07/05 00:26:38 gutteridge Exp $
+
+.include <bsd.own.mk>
+
+.include "../../Makefile.inc"
+.PATH: ${DIST}/src
+
+.if ${MKSHARE} != "no"
+FILES= dhcpcd.conf
+
+FILESDIR= /usr/share/examples/dhcpcd/
+.endif
+
+.include <bsd.prog.mk>