summaryrefslogtreecommitdiff
path: root/lang/gcc3/Makefile
diff options
context:
space:
mode:
authorseb <seb>2003-07-04 16:27:24 +0000
committerseb <seb>2003-07-04 16:27:24 +0000
commitfd3d92443f92ba5111a8c8b58a3a6b88f775ba51 (patch)
tree95684cc8b3afa9f05daebb3ae374a76333a9473f /lang/gcc3/Makefile
parentb128988d327ad1cea902efb724d5721f5492b286 (diff)
downloadpkgsrc-fd3d92443f92ba5111a8c8b58a3a6b88f775ba51.tar.gz
Convert to USE_NEW_TEXINFO.
Remove or trim "info related" patch files. Install info files in package specific directory. Hence the PLIST files are now nearly empty... This should finish making these two packages really non-conflicting. Bump PKGREVISION.
Diffstat (limited to 'lang/gcc3/Makefile')
-rw-r--r--lang/gcc3/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index d8130ae28dc..246e674512f 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2003/07/04 16:11:57 seb Exp $
+# $NetBSD: Makefile,v 1.32 2003/07/04 16:27:27 seb Exp $
#
DISTNAME= gcc-3.3
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= ${DISTNAME:C|gcc|gcc3|}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
@@ -22,7 +22,7 @@ USE_GMAKE= YES
HAS_CONFIGURE= YES
-CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+CONFIGURE_ARGS+= --infodir=${GCC_PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
UNLIMIT_RESOURCES= datasize
@@ -34,7 +34,9 @@ TEXINFO_REQD= 4.2
.include "../../mk/bsd.prefs.mk"
-INFO_FILES= cpp.info g77.info gcc.info
+USE_NEW_TEXINFO= YES
+INFO_DIR= ${GCC_PREFIX:S|^${PREFIX}/||}/info
+INFO_FILES= cpp.info g77.info gcc.info gccint.info cppinternals.info
.if defined(PKG_GCC3_JAVA)
INFO_FILES+= fastjar.info gcj.info
.endif
@@ -102,9 +104,6 @@ post-install:
${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}
-.if defined(PKG_GCC3_JAVA)
- ${CAT} ${PKGDIR}/PLIST.java >> ${PLIST_SRC}
-.endif
${FIND} ${GCC_PREFIX} \( -type f -o -type l \) -print \
| ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
>> ${PLIST_SRC}
@@ -112,7 +111,6 @@ post-install:
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}
-.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
# Make bootstrap with compiler != gcc possible.