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.
This commit is contained in:
jmmv 2003-05-02 13:36:51 +00:00
parent c0ab3edf8f
commit d73dd256ee
3 changed files with 9 additions and 6 deletions

View file

@ -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.
===========================================================================

View file

@ -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}

View file

@ -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