Date: Thu, 3 Jun 2004 01:34:21 -0400 (EDT) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: perky@FreeBSD.org Subject: ports/67515: [PATCH] lang/python: [${CC} friendly to other ports] Message-ID: <20040603053421.B7CE35E75@ahze.ahze.net> Resent-Message-ID: <200406030540.i535eI13038330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67515 >Category: ports >Synopsis: [PATCH] lang/python: [${CC} friendly to other ports] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 02 22:40:18 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May 3 05:09:04 EDT >Description: - Make ${CC} friendly to other ports. this patch doesn't change the way python builds at all, but some ports (ie. x11-toolkits/py-wxPython) use the python Makefile in ${LOCALBASE}/lib/python-*/config/Makefile and if you use ccache, distcc, etc linking libs does not work correctly Port maintainer (perky@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: install devel/ccache install lang/python with CC="ccache cc" build x11-toolkits/py-wxPython (a few other ports also don't link correctly) >Fix: --- python-2.3.4.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/python/Makefile,v retrieving revision 1.130 diff -u -r1.130 Makefile --- Makefile 27 May 2004 15:58:02 -0000 1.130 +++ Makefile 3 Jun 2004 05:12:06 -0000 @@ -121,6 +121,9 @@ ${REINPLACE_CMD} -e \ 's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \ ${WRKSRC}/Lib/pydoc.py + ${REINPLACE_CMD} -e \ + 's,LDSHARED="cc,LDSHARED="${CC},g' \ + ${WRKSRC}/configure post-configure: ${STACKLESS_POST_CONFIGURE} @# prepare a subdir for shared build --- python-2.3.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040603053421.B7CE35E75>