summaryrefslogtreecommitdiff
path: root/lang/gcc3
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-07-13 13:16:03 +0000
committergrant <grant@pkgsrc.org>2003-07-13 13:16:03 +0000
commit0c414e029ba8763e60db463d0a3f74388f8d49da (patch)
tree0aedf2276b48058417909a249a338b2cc9d2f03a /lang/gcc3
parentbbfe9c9c204873dd1f1d8113cf0cb0c995caf883 (diff)
downloadpkgsrc-0c414e029ba8763e60db463d0a3f74388f8d49da.tar.gz
oops, we still want the mk files for non-pkgsrc purposes. unbump
PKGREVISIONs.
Diffstat (limited to 'lang/gcc3')
-rw-r--r--lang/gcc3/Makefile8
-rw-r--r--lang/gcc3/PLIST5
-rw-r--r--lang/gcc3/files/gcc3.mk9
3 files changed, 18 insertions, 4 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index accf1e1b0cb..1926bdfe61d 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2003/07/13 13:04:09 grant Exp $
+# $NetBSD: Makefile,v 1.38 2003/07/13 13:16:04 grant Exp $
#
DISTNAME= gcc-3.3
-PKGREVISION= 5
+PKGREVISION= 4
PKGNAME= ${DISTNAME:C|gcc|gcc3|}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
@@ -92,11 +92,15 @@ 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}
diff --git a/lang/gcc3/PLIST b/lang/gcc3/PLIST
index 1206c0ddced..be41456e120 100644
--- a/lang/gcc3/PLIST
+++ b/lang/gcc3/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.9 2003/07/13 13:04:10 grant Exp $
-@this plist intentionally left blank
+@comment $NetBSD: PLIST,v 1.10 2003/07/13 13:16:04 grant Exp $
+share/examples/${DISTNAME}/mk.conf
+@dirrm share/examples/${DISTNAME}
diff --git a/lang/gcc3/files/gcc3.mk b/lang/gcc3/files/gcc3.mk
new file mode 100644
index 00000000000..8f919c327b7
--- /dev/null
+++ b/lang/gcc3/files/gcc3.mk
@@ -0,0 +1,9 @@
+# $NetBSD: gcc3.mk,v 1.9 2003/07/13 13:16:05 grant Exp $
+#
+# make configuration file for @DISTNAME@
+
+CC= @GCC_PREFIX@/bin/gcc
+CPP= @GCC_PREFIX@/bin/cpp
+CXX= @GCC_PREFIX@/bin/g++
+F77= @GCC_PREFIX@/bin/g77
+PKG_FC= @GCC_PREFIX@/bin/g77