Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 04:38:09 GMT
From:      "4721@hushmail.com" <4721@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174563: [patch] fix devel/valgrind on 9-amd64 with WITHOUT_LIB32
Message-ID:  <201212190438.qBJ4c9oG036494@red.freebsd.org>
Resent-Message-ID: <201212190440.qBJ4e0O6059536@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212190438.qBJ4c9oG036494>