ports/162595: [patch] audio/py-ogg: respect CC

Jan Beich jbeich at tormail.net
Tue Nov 15 19:40:09 UTC 2011


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



More information about the freebsd-ports-bugs mailing list