aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.autotools.mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-02 05:02:24 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-02 05:02:24 +0000
commit328194eb2d96576c0fdf0869e2ecb6aeeb1990ba (patch)
tree3f563807f48efc1ff8cd4f0c92aa23fa15561d90 /Mk/bsd.autotools.mk
parent180b92a2f19843752ff919d825165bec9cfb7caf (diff)
downloadports-328194eb2d96576c0fdf0869e2ecb6aeeb1990ba.tar.gz
ports-328194eb2d96576c0fdf0869e2ecb6aeeb1990ba.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
Notes
Notes: svn path=/head/; revision=138329
Diffstat (limited to 'Mk/bsd.autotools.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