From fbf6d33e83856bd10c79192a778a7c59ddf5d8cf Mon Sep 17 00:00:00 2001 From: gerald Date: Sat, 21 May 2011 19:34:29 +0000 Subject: Fix the post-patch target to properly report this as a FreeBSD Ports Collection variant of GCC. [1] Strip down distinfo on the way. Reported by: Bjoern Koenig [1] --- lang/gcc42/Makefile | 2 +- lang/gcc42/distinfo | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'lang') diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index f06abdc8e67..7d7a0848420 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -80,7 +80,7 @@ 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]";|' \ + @${REINPLACE_CMD} -e 's|\(#define VERSUFFIX.*\)"|\1 [FreeBSD Ports Collection]"|' \ ${SRCDIR}/gcc/version.c pre-configure: diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo index d9353ecc52f..1a65adec938 100644 --- a/lang/gcc42/distinfo +++ b/lang/gcc42/distinfo @@ -1,15 +1,6 @@ -MD5 (gcc-core-4.2-20090325.tar.bz2) = c45cb423bbd98ca934bd7661e96a49fa SHA256 (gcc-core-4.2-20090325.tar.bz2) = f5789fd0d54d1d1f388fdac814a43ee87bd1e2f6ab904412767e2cf2dad712ea SIZE (gcc-core-4.2-20090325.tar.bz2) = 16062670 -MD5 (gcc-g++-4.2-20090325.tar.bz2) = dd0d0ef2f7fd6c112b9efdfb52501e35 SHA256 (gcc-g++-4.2-20090325.tar.bz2) = abe6f2f91a5f27b03948cb3cc2d6672540bae0f8c89055a054c0043ba57f7bb1 SIZE (gcc-g++-4.2-20090325.tar.bz2) = 4826743 -MD5 (gcc-objc-4.2-20090325.tar.bz2) = 4f90a23bf249df24682e5fc1d4042a23 SHA256 (gcc-objc-4.2-20090325.tar.bz2) = ed7489522fbfb9ed6be9a028e3fe73018d406e206f4dd9d79b892c4b04bd3366 SIZE (gcc-objc-4.2-20090325.tar.bz2) = 196233 -MD5 (ecj-4.3.jar) = fd299f26c02268878b5d6c0e86f57c43 -SHA256 (ecj-4.3.jar) = 9de193ea393ed50d868b730bad6916f7a8ef4ba80216f8606d3e1a0dd886e74b -SIZE (ecj-4.3.jar) = 1377431 -MD5 (gcc-java-4.2-20090325.tar.bz2) = 8559d9452a0ae29b935214b71baf5dfd -SHA256 (gcc-java-4.2-20090325.tar.bz2) = b5f3c1088e89d605bfee5dbfd25c77dd94b4c583ea7ff4a4c347899a76ce682e -SIZE (gcc-java-4.2-20090325.tar.bz2) = 10405140 -- cgit