From 8807cd1c66dd686631fcde97291003941f38c901 Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 13 Jul 2003 13:04:09 +0000 Subject: 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. --- lang/gcc3/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lang/gcc3/Makefile') 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} -- cgit v1.2.3