summaryrefslogtreecommitdiff
path: root/lang/gcc3-c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc3-c/Makefile')
-rw-r--r--lang/gcc3-c/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc3-c/Makefile b/lang/gcc3-c/Makefile
index 46edb3a69b9..00a5130e01a 100644
--- a/lang/gcc3-c/Makefile
+++ b/lang/gcc3-c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2003/07/06 12:15:07 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:58 grant Exp $
#
DISTNAME= gcc-3.3
@@ -73,8 +73,9 @@ ALL_TARGET= bootstrap
.endif
GCC_PREFIX= ${PREFIX}/gcc3
+GCC_VERSION= ${PKGVERSION:C|nb*||}
+GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${GCC_VERSION}
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}