summaryrefslogtreecommitdiff
path: root/lang/gcc3
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-02 13:36:51 +0000
committerjmmv <jmmv>2003-05-02 13:36:51 +0000
commit246026415e1cad0b62413836fcb973b40251a802 (patch)
treeb2de8a30e38ef6c9a1b2bf43bf4ceb128e80a471 /lang/gcc3
parent2bc7f1cdac3394094ca00338d1ec5e460bed71d5 (diff)
downloadpkgsrc-246026415e1cad0b62413836fcb973b40251a802.tar.gz
Move the mk.conf style example file to share/examples/gcc/mk.conf, to avoid
polluting the etc directory (and not honouring PKG_SYSCONFDIR). Bump PKGREVISION to 1.
Diffstat (limited to 'lang/gcc3')
-rw-r--r--lang/gcc3/MESSAGE4
-rw-r--r--lang/gcc3/Makefile6
-rw-r--r--lang/gcc3/PLIST5
3 files changed, 9 insertions, 6 deletions
diff --git a/lang/gcc3/MESSAGE b/lang/gcc3/MESSAGE
index 03dd9b75b85..912679b448f 100644
--- a/lang/gcc3/MESSAGE
+++ b/lang/gcc3/MESSAGE
@@ -1,7 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2003/04/14 04:30:21 salo Exp $
+$NetBSD: MESSAGE,v 1.3 2003/05/02 13:36:51 jmmv Exp $
-To use ${PKGNAME} include "${PREFIX}/etc/${PKGNAME_NOREV}.mk" in your
+To use ${PKGNAME} include "${PREFIX}/share/examples/gcc/mk.conf" in your
BSD style makefile.
===========================================================================
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index 82b6ad16e93..9b550cac653 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2003/04/14 04:30:21 salo Exp $
+# $NetBSD: Makefile,v 1.10 2003/05/02 13:36:51 jmmv Exp $
#
DISTNAME= gcc-3.2.2
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/}
@@ -58,7 +59,8 @@ post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
post-install:
- ${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${PREFIX}/etc/${PKGNAME_NOREV}.mk
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gcc
+ ${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${PREFIX}/share/examples/gcc/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 5ca9a0cb7d9..b07139bf329 100644
--- a/lang/gcc3/PLIST
+++ b/lang/gcc3/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/06 07:42:27 uebayasi Exp $
-etc/${PKGNAME}.mk
+@comment $NetBSD: PLIST,v 1.2 2003/05/02 13:36:52 jmmv Exp $
@unexec ${INSTALL_INFO} --delete %D/info/cpp.info %D/info/dir
info/cpp.info
info/cpp.info-1
@@ -92,3 +91,5 @@ info/gcj.info
info/gcj.info-1
info/gcj.info-2
@exec ${INSTALL_INFO} %D/info/gcj.info %D/info/dir
+share/examples/gcc/mk.conf
+@dirrm share/examples/gcc