Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2011 01:33:02 +0600
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/162595: [patch] audio/py-ogg: respect CC
Message-ID:  <1RQOmb-0003fj-Cu@internal.tormail.net>
Resent-Message-ID: <201111151940.pAFJe9Gb028786@freefall.freebsd.org>

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

>Number:         162595
>Category:       ports
>Synopsis:       [patch] audio/py-ogg: respect CC
>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 Nov 15 19:40:09 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:
Alternatively, one can prepend CC=${CC} or even ${MAKE_ENV} before
${PYTHON_CMD} like it does bsd.port.mk for (HAS|GNU)_CONFIGURE.
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/py27-ogg-1.3_4.log
>Fix:
--- cc.diff begins here ---
Index: audio/py-ogg/Makefile
===================================================================
RCS file: /a/.csup/ports/audio/py-ogg/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- audio/py-ogg/Makefile	6 Jun 2010 20:43:39 -0000	1.14
+++ audio/py-ogg/Makefile	15 Nov 2011 18:25:28 -0000
@@ -21,8 +21,8 @@ LIB_DEPENDS=	ogg.7:${PORTSDIR}/audio/lib
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	pyogg
-
-do-configure:
-	@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
+HAS_CONFIGURE=		yes
+CONFIGURE_SCRIPT=	config_unix.py
+CONFIGURE_ARGS=		--prefix ${LOCALBASE}
 
 .include <bsd.port.mk>
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RQOmb-0003fj-Cu>