diff options
author | tv <tv> | 2005-03-08 13:03:23 +0000 |
---|---|---|
committer | tv <tv> | 2005-03-08 13:03:23 +0000 |
commit | b85e9faa7fe7acbbfbf1083bb9a289cb9888ad0a (patch) | |
tree | 89bb5b0b5d81b7ef9f0df0a611fb129dc67d42ee /lang/tcl83 | |
parent | 8c13f0bd0950428885e0977ef95900cdd8d95a3b (diff) | |
download | pkgsrc-b85e9faa7fe7acbbfbf1083bb9a289cb9888ad0a.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/tcl83')
-rw-r--r-- | lang/tcl83/Makefile | 4 |
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 |