summaryrefslogtreecommitdiff
path: root/lang/gcc3/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2003-07-13 13:04:09 +0000
committergrant <grant>2003-07-13 13:04:09 +0000
commit8807cd1c66dd686631fcde97291003941f38c901 (patch)
tree8d571d6bac15239bea7968f10aea6e65444548f2 /lang/gcc3/Makefile
parentb50fbc5cf5202821cfde559173ad23220e6eb191 (diff)
downloadpkgsrc-8807cd1c66dd686631fcde97291003941f38c901.tar.gz
greatly simplify the handling of pkgsrc gcc, and eliminate a bug which
has allowed these packages to work :) set CC, CXX, CPP and F77 in gcc{,3}/buildlink2.mk. you now only need to define USE_GCC2 or USE_GCC3 to use the pkgsrc gcc of your choice. the share/examples/gcc/mk.conf and gcc3/mk.conf files are no longer installed. bump PKGREVISIONs.
Diffstat (limited to 'lang/gcc3/Makefile')
-rw-r--r--lang/gcc3/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index f671d728814..accf1e1b0cb 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2003/07/08 16:30:44 abs Exp $
+# $NetBSD: Makefile,v 1.37 2003/07/13 13:04:09 grant Exp $
#
DISTNAME= gcc-3.3
-PKGREVISION= 4
+PKGREVISION= 5
PKGNAME= ${DISTNAME:C|gcc|gcc3|}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
@@ -92,15 +92,11 @@ pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
-post-build:
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
-
post-install:
.if ${OPSYS} == "SunOS"
-cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
.endif
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${DISTNAME}
- ${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${PREFIX}/share/examples/${DISTNAME}/mk.conf
${LN} -f ${GCC_PREFIX}/bin/gcc ${GCC_PREFIX}/bin/cc
# ${LN} -f ${GCC_PREFIX}/bin/g77 ${GCC_PREFIX}/bin/f77
${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}