From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 13 06:10:15 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30881065752 for ; Tue, 13 Dec 2011 06:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAA08FC1D for ; Tue, 13 Dec 2011 06:10:13 +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 pBD6ADVV090315 for ; Tue, 13 Dec 2011 06:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBD6ADV4090314; Tue, 13 Dec 2011 06:10:13 GMT (envelope-from gnats) Resent-Date: Tue, 13 Dec 2011 06:10:13 GMT Resent-Message-Id: <201112130610.pBD6ADV4090314@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, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90DC61065670 for ; Tue, 13 Dec 2011 06:06:28 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id 59CF18FC14 for ; Tue, 13 Dec 2011 06:06:28 +0000 (UTC) Received: from politkovskaja.torservers.net ([77.247.181.165]:14736 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RaLVR-002eId-2q for FreeBSD-gnats-submit@freebsd.org; Tue, 13 Dec 2011 01:06:27 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RaLUM-000H7d-OP for FreeBSD-gnats-submit@freebsd.org; Tue, 13 Dec 2011 06:05:24 +0000 Message-Id: <1RaLUM-000H7d-OP@internal.tormail.net> Date: Tue, 13 Dec 2011 12:47:20 +0800 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/163231: [patch] audio/py-mad: respect CC & LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 06:10:15 -0000 >Number: 163231 >Category: ports >Synopsis: [patch] audio/py-mad: respect CC & LOCALBASE >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: Tue Dec 13 06:10:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: # slightly different from pointyhat $ export PATH=~/.bin:$PATH $ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done >Description: config_unix.py script wants to find mad headers under --prefix, which are installed under LOCALBASE. OTOH, do-install uses setup.py and installs under PYTHONPREFIX_SITELIBDIR. >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/py27-mad-0.6_1.log $ make install PREFIX=/foo >Fix: --- cc.diff begins here --- Index: audio/py-mad/Makefile =================================================================== RCS file: /a/.csup/ports/audio/py-mad/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- audio/py-mad/Makefile 23 May 2010 21:16:05 -0000 1.17 +++ audio/py-mad/Makefile 13 Dec 2011 04:41:09 -0000 @@ -28,6 +28,6 @@ post-patch: ${WRKSRC}/setup.py do-configure: - @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py --prefix ${PREFIX} + @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE} .include --- cc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: