diff options
author | tv <tv@pkgsrc.org> | 2005-03-08 13:03:23 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-03-08 13:03:23 +0000 |
commit | 675241cf8b39471e72a6a3cb7fd34df75a0dfdc8 (patch) | |
tree | 89bb5b0b5d81b7ef9f0df0a611fb129dc67d42ee /lang/tcl83 | |
parent | 9aa499a1fdb0c23ce46c020fa284153e9c134143 (diff) | |
download | pkgsrc-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/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 |