aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-07-02 13:02:24 +0800
committermarcus <marcus@FreeBSD.org>2005-07-02 13:02:24 +0800
commit9f58f0de4c76c9a522f9b2bc3c9c4cbd51888a75 (patch)
treeb0969ada164077c2c42a1dd3c5f0a3bd1926f85b /Mk
parentad358cd0c09a7853121e43a3d6427723f4a3fe42 (diff)
downloadfreebsd-ports-gnome-9f58f0de4c76c9a522f9b2bc3c9c4cbd51888a75.tar.gz
freebsd-ports-gnome-9f58f0de4c76c9a522f9b2bc3c9c4cbd51888a75.tar.zst
freebsd-ports-gnome-9f58f0de4c76c9a522f9b2bc3c9c4cbd51888a75.zip
Instead of checking to see if USE_AUTOTOOLS_COMPAT is defined, ensure that
it is empty. USE_AUTOTOOLS_COMPAT will always be defined, but we don't want to assume that we're using autotools compatibility unless its value is non-null. Previously, the defined check would cause ports using the new USE_AUTOTOOLS scheme to fail. Approved by: ade
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.autotools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.autotools.mk b/Mk/bsd.autotools.mk
index b92fcc7bbe7a..265daa371a78 100644
--- a/Mk/bsd.autotools.mk
+++ b/Mk/bsd.autotools.mk
@@ -74,7 +74,7 @@ USE_AUTOTOOLS_COMPAT+= libtool:${WANT_LIBTOOL_VER}:env
# Ensure that we're not mixing and matching old and new systems
#
-.if defined(USE_AUTOTOOLS_COMPAT)
+.if ${USE_AUTOTOOLS_COMPAT}!=""
. if defined(USE_AUTOTOOLS)
BROKEN+= "Mix and match of old and new autotools system prohibited"
. else