ports/174563: [patch] fix devel/valgrind on 9-amd64 with WITHOUT_LIB32
4721 at hushmail.com
4721 at hushmail.com
Wed Dec 19 04:40:00 UTC 2012
>Number: 174563
>Category: ports
>Synopsis: [patch] fix devel/valgrind on 9-amd64 with WITHOUT_LIB32
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 19 04:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: 4721 at hushmail.com
>Release:
>Organization:
>Environment:
>Description:
the devel/valgrind port checks for the existence of /usr/lib32 to see if to build the 32-bit section or not. freebsd 9 adds this directory to the mtree directory lists, so it will always exist and even get recreated if removed. changing the test to check for a file inside /usr/lib32/ fixes the test and the port successfully builds on 9-amd64 with WITHOUT_LIB32
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: devel/valgrind/Makefile
===================================================================
--- devel/valgrind/Makefile (revision 309150)
+++ devel/valgrind/Makefile (working copy)
@@ -61,7 +61,7 @@
.if ${ARCH} == "amd64"
PLIST_SUB+= AMD64="" ARCH=amd64
-. if !exists(/usr/lib32)
+. if !exists(/usr/lib32/crti.o)
CONFIGURE_ARGS+= --enable-only64bit
PLIST_SUB+= X86="@comment "
. else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list