aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-17 05:01:05 +0800
committerbapt <bapt@FreeBSD.org>2015-09-17 05:01:05 +0800
commit7fdb7155448f0d41da60c5c45cb2c38dc505f02b (patch)
treefd71bef73f655b8cbb62df7f7f8282f6f70363a4 /Mk
parent0b6aaff92bafc17ff438b29728826055ad7eeef0 (diff)
downloadfreebsd-ports-gnome-7fdb7155448f0d41da60c5c45cb2c38dc505f02b.tar.gz
freebsd-ports-gnome-7fdb7155448f0d41da60c5c45cb2c38dc505f02b.tar.zst
freebsd-ports-gnome-7fdb7155448f0d41da60c5c45cb2c38dc505f02b.zip
Add a new sanity check for knobs not needed anymore
First use: WX_UNICODE
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sanity.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 67ea6003d3de..cd6ecb62caee 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -162,6 +162,7 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \
UNIQUENAME LATEST_LINK
SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS
+SANITY_NOTNEEDED= WX_UNICODE
USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes
USE_OPENAL_ALT= USES=openal
@@ -197,6 +198,7 @@ PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX
NO_INSTALL_MANPAGES_ALT= USES=imake:noman
UNIQUENAME_ALT= PKGBASE
LATEST_LINK_ALT= PKGBASE
+WX_UNICODE_REASON= Now no-op as only unicode is supported now
.for a in ${SANITY_DEPRECATED}
.if defined(${a})
@@ -204,6 +206,12 @@ DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}"
.endif
.endfor
+.for a in ${SANITY_NOTNEEDED}
+.if defined(${a})
+DEV_WARNING+= "${a} is not needed: ${${a}_REASON}"
+.endif
+.endfor
+
.for a in ${SANITY_UNSUPPORTED}
.if defined(${a})
DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}"