diff options
author | jlam <jlam> | 2004-02-18 13:33:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-18 13:33:40 +0000 |
commit | c8a2fd90b73c914420e9b31021f269ee79cbfae1 (patch) | |
tree | e6391a0a29cee2898ed380fe3328cb0b69890ce3 /lang | |
parent | 920811ba4244705fdca01b1f2e99c9104cf6ec5f (diff) | |
download | pkgsrc-c8a2fd90b73c914420e9b31021f269ee79cbfae1.tar.gz |
Include "../../mk/compiler.mk" to get the value of CC_VERSION before
testing it.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc3-c/Makefile | 4 | ||||
-rw-r--r-- | lang/perl58/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/gcc3-c/Makefile b/lang/gcc3-c/Makefile index 794cc639caf..27cb559623b 100644 --- a/lang/gcc3-c/Makefile +++ b/lang/gcc3-c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/02/01 14:05:46 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2004/02/18 13:33:41 jlam Exp $ PKGNAME= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION} COMMENT= GNU Compiler Collection, v3 - C compiler @@ -11,6 +11,8 @@ INFO_FILES= cpp.info gcc.info gccint.info cppinternals.info CONFIGURE_ARGS+= --enable-languages=c PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC +.include "../../mk/compiler.mk" + .if empty(CC_VERSION:Mgcc-*) ALL_TARGET= bootstrap .endif diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile index 189c5096b02..7467d95e2fa 100644 --- a/lang/perl58/Makefile +++ b/lang/perl58/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2004/02/10 01:59:54 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2004/02/18 13:33:41 jlam Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -162,6 +162,8 @@ MKPIC= no . endif .endif +.include "../../mk/compiler.mk" + .if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) . if !empty(CC_VERSION:Mgcc*) . if !defined(_GCC_IS_TOO_OLD) |