summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/pam.d/Makefile7
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc1
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/pam.d/Makefile b/etc/pam.d/Makefile
index 7369022..ac7db6c 100644
--- a/etc/pam.d/Makefile
+++ b/etc/pam.d/Makefile
@@ -1,9 +1,10 @@
# $FreeBSD$
+.include <src.opts.mk>
+
NO_OBJ=
FILES= README \
- atrun \
cron \
ftpd \
imap \
@@ -15,6 +16,10 @@ FILES= README \
telnetd \
xdm
+.if ${MK_AT} != "no"
+FILES+= atrun
+.endif
+
FILESDIR= /etc/pam.d
FILESMODE= 644
FILESMODE_README= 444
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 1117e16..e625428 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -62,6 +62,7 @@ OLD_FILES+=usr/share/man/man8/amd64/apmconf.8.gz
.endif
.if ${MK_AT} == no
+OLD_FILES+=etc/pam.d/atrun
OLD_FILES+=usr/bin/at
OLD_FILES+=usr/bin/atq
OLD_FILES+=usr/bin/atrm
OpenPOWER on IntegriCloud