Date: Tue, 13 Dec 2011 03:56:40 -0100 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/163232: [patch] math/metis: respect CC Message-ID: <1RaLUk-000H8J-V9@internal.tormail.net> Resent-Message-ID: <201112130610.pBD6ADdH090323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163232 >Category: ports >Synopsis: [patch] math/metis: 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 Dec 13 06:10:13 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: >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/metis-4.0.3.log >Fix: --- cc.diff begins here --- Index: math/metis/Makefile =================================================================== RCS file: /a/.csup/ports/math/metis/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- math/metis/Makefile 19 Nov 2011 09:04:39 -0000 1.19 +++ math/metis/Makefile 13 Dec 2011 04:51:58 -0000 @@ -33,8 +33,8 @@ post-patch: ${MKDIR} ${WRKSRC}_SHARED ; ${CP} -r ${WRKSRC}/* ${WRKSRC}_SHARED do-build: - cd ${WRKSRC} ; ${MAKE} - cd ${WRKSRC}_SHARED ; ${SETENV} CFLAGS="${CFLAGS} ${PICFLAG}" ${MAKE} ; ld -Bshareable -o libmetis.so.1 -x -soname libmetis.so.1 --whole-archive libmetis.a + cd ${WRKSRC} ; ${MAKE_ENV} ${MAKE} + cd ${WRKSRC}_SHARED ; ${SETENV} ${MAKE_ENV} CFLAGS="${CFLAGS} ${PICFLAG}" ${MAKE} ; ${LD} -Bshareable -o libmetis.so.1 -x -soname libmetis.so.1 --whole-archive libmetis.a do-install: .for p in ${PROGRAMS} --- 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?1RaLUk-000H8J-V9>