From cb2fd85b378fc26b1feca1049cb0cc7e9e39bb7d Mon Sep 17 00:00:00 2001 From: lidl Date: Tue, 7 Jun 2016 16:31:03 +0000 Subject: [PATCH] Separate BLACKLIST vs BLACKLIST_SUPPORT properly Sponsored by: The FreeBSD Foundation --- etc/Makefile | 2 +- etc/rc.d/Makefile | 2 +- lib/Makefile | 2 +- libexec/Makefile | 2 +- tools/build/mk/OptionalObsoleteFiles.inc | 2 +- usr.sbin/Makefile | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 99d905aa391..b41a806a41e 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -86,7 +86,7 @@ BIN1+= apmd.conf BIN1+= auto_master .endif -.if ${MK_BLACKLIST_SUPPORT} != "no" +.if ${MK_BLACKLIST} != "no" BIN1+= blacklistd.conf .endif diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 9737adc4da9..9ad9f91ee75 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -170,7 +170,7 @@ FILES+= automountd FILES+= autounmountd .endif -.if ${MK_BLACKLIST_SUPPORT} != "no" +.if ${MK_BLACKLIST} != "no" _blacklistd+= blacklistd .endif diff --git a/lib/Makefile b/lib/Makefile index d475c6c53fc..0fff80266c9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -161,7 +161,7 @@ SUBDIR_DEPEND_liblzma= ${_libthr} _libngatm= libngatm .endif -.if ${MK_BLACKLIST_SUPPORT} != "no" +.if ${MK_BLACKLIST} != "no" _libblacklist= libblacklist .endif diff --git a/libexec/Makefile b/libexec/Makefile index fdcc49a3eef..5c6130a18db 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -34,7 +34,7 @@ SUBDIR= ${_atf} \ _atrun= atrun .endif -.if ${MK_BLACKLIST_SUPPORT} != "no" +.if ${MK_BLACKLIST} != "no" _blacklistd-helper+= blacklistd-helper .endif diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 9ad814959d6..e658ce148fd 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -431,7 +431,7 @@ OLD_FILES+=usr/share/man/man7/ldint.7.gz OLD_FILES+=usr/share/man/man7/binutils.7.gz .endif -.if ${MK_BLACKLIST_SUPPORT} == no +.if ${MK_BLACKLIST} == no OLD_FILES+=etc/rc.d/blacklistd OLD_FILES+=usr/include/blacklist.h OLD_FILES+=usr/lib/libblacklist.a diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 8c80266893e..b08a65a28c8 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -113,9 +113,9 @@ SUBDIR.${MK_AUDIT}+= auditreduce SUBDIR.${MK_AUDIT}+= praudit SUBDIR.${MK_AUTHPF}+= authpf SUBDIR.${MK_AUTOFS}+= autofs -.if ${MK_BLACKLIST_SUPPORT} != "no" -SUBDIR.${MK_BLACKLIST_SUPPORT}+= blacklistctl -SUBDIR.${MK_BLACKLIST_SUPPORT}+= blacklistd +.if ${MK_BLACKLIST} != "no" +SUBDIR.${MK_BLACKLIST}+= blacklistctl +SUBDIR.${MK_BLACKLIST}+= blacklistd .endif SUBDIR.${MK_BLUETOOTH}+= bluetooth SUBDIR.${MK_BOOTPARAMD}+= bootparamd -- 2.45.0