From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 19 04:40:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B98D4E45 for ; Wed, 19 Dec 2012 04:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 72B2E8FC12 for ; Wed, 19 Dec 2012 04:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBJ4e0kI059537 for ; Wed, 19 Dec 2012 04:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBJ4e0O6059536; Wed, 19 Dec 2012 04:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 19 Dec 2012 04:40:00 GMT Resent-Message-Id: <201212190440.qBJ4e0O6059536@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "4721@hushmail.com" <4721@hushmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D517BE24 for ; Wed, 19 Dec 2012 04:38:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id BC18D8FC13 for ; Wed, 19 Dec 2012 04:38:09 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBJ4c9Xk036495 for ; Wed, 19 Dec 2012 04:38:09 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBJ4c9oG036494; Wed, 19 Dec 2012 04:38:09 GMT (envelope-from nobody) Message-Id: <201212190438.qBJ4c9oG036494@red.freebsd.org> Date: Wed, 19 Dec 2012 04:38:09 GMT From: "4721@hushmail.com" <4721@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174563: [patch] fix devel/valgrind on 9-amd64 with WITHOUT_LIB32 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 04:40:00 -0000 >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: