Date: Tue, 21 Jun 2011 22:32:54 +0200 (CEST) From: Niclas Zeising <niclas.zeising@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158138: [PATCH] fix misc/gplink to build with clang Message-ID: <201106212032.p5LKWscv002123@vincent.daemonic.se> Resent-Message-ID: <201106212040.p5LKeBmn008468@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158138 >Category: ports >Synopsis: [PATCH] fix misc/gplink to build with clang >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 Jun 21 20:40:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Niclas Zeising >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64 >Description: misc/gplink hardcodes the use of gcc as c compiler. >How-To-Repeat: >Fix: Attached patch makes misc/gplink use system default c compiler. --- misc.gplink.clangfix.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/misc/gplink/Makefile,v retrieving revision 1.6 diff -u -d -r1.6 Makefile --- Makefile 9 Mar 2009 17:15:40 -0000 1.6 +++ Makefile 21 Jun 2011 20:30:59 -0000 @@ -29,6 +29,7 @@ @${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \ -e 's,`libusb-config --libs`,-lusb,g' \ ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile .endif do-install: --- misc.gplink.clangfix.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?201106212032.p5LKWscv002123>