aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc46/Makefile
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-04-24 06:47:46 +0800
committergerald <gerald@FreeBSD.org>2011-04-24 06:47:46 +0800
commite2363b85417490f7b10fb9e0e6a6cdcc57826cf7 (patch)
tree550dcb78dfbf71ddbf8412b363c3fdc1aa3cf32d /lang/gcc46/Makefile
parentbcd8e85b380578fcaed9156cb4618ddc117985d1 (diff)
downloadfreebsd-ports-gnome-e2363b85417490f7b10fb9e0e6a6cdcc57826cf7.tar.gz
freebsd-ports-gnome-e2363b85417490f7b10fb9e0e6a6cdcc57826cf7.tar.zst
freebsd-ports-gnome-e2363b85417490f7b10fb9e0e6a6cdcc57826cf7.zip
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 <bkoenig@alpha-tierchen.de> [1]
Diffstat (limited to 'lang/gcc46/Makefile')
-rw-r--r--lang/gcc46/Makefile7
1 files changed, 2 insertions, 5 deletions
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*