summaryrefslogtreecommitdiff
path: root/lang/gcc3-objc
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-07-06 12:31:57 +0000
committergrant <grant@pkgsrc.org>2003-07-06 12:31:57 +0000
commit886b31b982f98847ef167be8f99cdc95d2254e1a (patch)
tree88089958c81824184d7383ce816f73c94c2174da /lang/gcc3-objc
parentbf1c6cfe932f764ccfa3e9d8784a98172abc845c (diff)
downloadpkgsrc-886b31b982f98847ef167be8f99cdc95d2254e1a.tar.gz
set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous comment
about GCC_PREFIX. XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
Diffstat (limited to 'lang/gcc3-objc')
-rw-r--r--lang/gcc3-objc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc3-objc/Makefile b/lang/gcc3-objc/Makefile
index 415272a060a..2c41f90601d 100644
--- a/lang/gcc3-objc/Makefile
+++ b/lang/gcc3-objc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2003/07/06 12:15:12 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:59 grant Exp $
#
DISTNAME= gcc-3.3
@@ -51,7 +51,8 @@ ALL_TARGET= bootstrap
# as this is named gcc3, use DISTNAME instead.
GCC_PREFIX= ${PREFIX}/gcc3
-GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}
+GCC_VERSION= ${PKGVERSION:C|nb*||}
+GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}