summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-08 13:03:23 +0000
committertv <tv@pkgsrc.org>2005-03-08 13:03:23 +0000
commit675241cf8b39471e72a6a3cb7fd34df75a0dfdc8 (patch)
tree89bb5b0b5d81b7ef9f0df0a611fb129dc67d42ee /lang
parent9aa499a1fdb0c23ce46c020fa284153e9c134143 (diff)
downloadpkgsrc-675241cf8b39471e72a6a3cb7fd34df75a0dfdc8.tar.gz
Fix bug in previous: Check for a variable's definition before checking its
value (otherwise older [b]make breaks on a "malformed conditional").
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl83/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile
index 63152146efd..a105bf60d98 100644
--- a/lang/tcl83/Makefile
+++ b/lang/tcl83/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/03/06 19:27:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.5 2005/03/08 13:03:23 tv Exp $
#
DISTNAME= tcl8.3.4
@@ -45,7 +45,7 @@ CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
CONFIGURE_ENV+= COMPILER_OPTIMIZATION_BUG=YES
.endif
-.if !empty(ABI) && ${ABI} == "64"
+.if defined(ABI) && !empty(ABI) && ${ABI} == "64"
CONFIGURE_ARGS+= --enable-64bit
.endif