From e2363b85417490f7b10fb9e0e6a6cdcc57826cf7 Mon Sep 17 00:00:00 2001 From: gerald Date: Sat, 23 Apr 2011 22:47:46 +0000 Subject: Update to the 20110422 snapshot of GCC 4.6.1. Replace the, now dysfunctional, post-patch target with a configure option that marks this build of GCC as "FreeBSD Ports Collection". [1] Reported by: Bjoern Koenig [1] --- lang/gcc46/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lang/gcc46/Makefile') diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 76a59742827c..d6f073f89e70 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -7,7 +7,7 @@ # PORTNAME= gcc -PORTVERSION= 4.6.1.20110415 +PORTVERSION= 4.6.1.20110422 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} @@ -72,6 +72,7 @@ CONFIGURE_ARGS+=--disable-nls \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --with-ld=${LOCALBASE}/bin/ld \ --with-libiconv-prefix=${LOCALBASE} \ + --with-pkgversion="FreeBSD Ports Collection" \ --with-system-zlib MAKE_ARGS+= MAKEINFOFLAGS="--no-split" ALL_TARGET= bootstrap-lean @@ -135,10 +136,6 @@ PLIST_SUB+= JAVA="@comment " pre-everything:: @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" -post-patch: - @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ - ${SRCDIR}/gcc/version.c - pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* -- cgit