From 675241cf8b39471e72a6a3cb7fd34df75a0dfdc8 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 8 Mar 2005 13:03:23 +0000 Subject: Fix bug in previous: Check for a variable's definition before checking its value (otherwise older [b]make breaks on a "malformed conditional"). --- lang/tcl83/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang') 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 -- cgit v1.2.3