diff options
Diffstat (limited to 'lang/tcl/Makefile')
-rw-r--r-- | lang/tcl/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index 4b4fba7fc98..1417393aa4e 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/06/30 18:24:17 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2001/07/25 19:42:58 jlam Exp $ # DISTNAME= tcl8.3.2 @@ -29,6 +29,15 @@ INSTALL_TARGET= install # CONFIGURE_ARGS+= --mandir=${WRKDIR}/man +.include "../../mk/bsd.prefs.mk" + +# NetBSD-1.5.x-m68k platforms apparently have a compiler optimization bug +# tickled by the Tcl code that manifests in code generation problems. +# +.if (${MACHINE_PLATFORM:MNetBSD-1.5*-m68k} != "") +CONFIGURE_ENV+= COMPILER_OPTIMIZATION_BUG=YES +.endif + # Modify mkLinks script to remove the short-filename manpage if it was # linked to a longer filename. # |