summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile
index b1013e6..b3d4265 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -87,10 +87,6 @@ BIN1+= amd.map
BIN1+= apmd.conf
.endif
-.if ${MK_BSNMP} != "no"
-BIN1+= snmpd.config
-.endif
-
.if ${MK_FREEBSD_UPDATE} != "no"
BIN1+= freebsd-update.conf
.endif
@@ -210,6 +206,11 @@ distribution:
${BIN2} ${DESTDIR}/etc; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
+.if ${MK_BSNMP} != "no"
+ cd ${.CURDIR}; \
+ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
+ snmpd.config ${DESTDIR}/etc;
+.endif
.if ${MK_AT} == "no"
sed -i "" -e 's;.*/usr/libexec/atrun;#&;' ${DESTDIR}/etc/crontab
.endif
OpenPOWER on IntegriCloud