aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-14 19:00:23 +0800
committermat <mat@FreeBSD.org>2016-04-14 19:00:23 +0800
commitc9c38c62cc1db0d0c3ba8b84aa31a768fee5b984 (patch)
treee22177521f3946e8d1cc9f037af7f3cbcb98d241 /Mk
parente867fd01d087b9802b271aa04be2829602de1302 (diff)
downloadfreebsd-ports-gnome-c9c38c62cc1db0d0c3ba8b84aa31a768fee5b984.tar.gz
freebsd-ports-gnome-c9c38c62cc1db0d0c3ba8b84aa31a768fee5b984.tar.zst
freebsd-ports-gnome-c9c38c62cc1db0d0c3ba8b84aa31a768fee5b984.zip
USE_RC_SUBR=yes has not done anything for a long time, remove it from
the few remaining ports and make it give an error. Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
-rw-r--r--Mk/bsd.sanity.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 10771fac26ff..643bbefe23f1 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1708,7 +1708,7 @@ MAKE_ENV+= ${b}="${${b}}"
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
.endif
-.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
+.if defined(USE_RC_SUBR)
SUB_FILES+= ${USE_RC_SUBR}
.endif
@@ -4931,7 +4931,7 @@ add-plist-post:
.endif
.if !target(install-rc-script)
-.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
+.if defined(USE_RC_SUBR)
install-rc-script:
@${ECHO_MSG} "===> Staging rc.d startup script(s)"
@for i in ${USE_RC_SUBR}; do \
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 0bfaae46f35a..929650cb2adf 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -157,6 +157,10 @@ DEV_ERROR+= "INSTALLS_EGGINFO is no longer supported, please add the entry direc
DEV_ERROR+= "WANT_SDL is no longer supported. If you need SDL, use USE_SDL, if you need optional dependency, use options"
.endif
+.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES
+DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it."
+.endif
+
SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \