ports/123711: [PATCH] Fix build of devel/valgrind on 7.x
Xin LI
delphij at FreeBSD.org
Thu May 15 19:10:04 UTC 2008
>Number: 123711
>Category: ports
>Synopsis: [PATCH] Fix build of devel/valgrind on 7.x
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 15 19:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 7.0-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 12 11:52:18 UTC 2008 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
The current valgrind version is using something that newer gcc versions will not be
happy with. The proposed patch would force gcc 3.4 while building, I think we do not want
to dig further on this version of valgrind because there is a new version available.
>How-To-Repeat:
Currently marked BROKEN on 7.x. Technically I think the usage of 700000 was wrong,
perhaps 700042 would be a better number.
>Fix:
--- valgrind-7.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/valgrind/Makefile,v
retrieving revision 1.27
diff -p -u -r1.27 Makefile
--- Makefile 11 May 2008 19:37:28 -0000 1.27
+++ Makefile 15 May 2008 18:59:43 -0000
@@ -25,13 +25,13 @@ USE_AUTOTOOLS+= autoconf:261 aclocal:19
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-maintainer-mode
USE_PERL5_BUILD=yes
+USE_GCC= 3.4
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000
IGNORE= FreeBSD 8.x is unsupported
.elif ${OSVERSION} >= 700000
-BROKEN= does not compile
PLIST_SUB+= RELENG_5="@comment "
PLIST_SUB+= RELENG_6="@comment "
PLIST_SUB+= RELENG_7=""
--- valgrind-7.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list