Date: Fri, 1 Jul 2011 00:55:36 +0200 (CEST) From: Niclas Zeising <niclas.zeising@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158545: [PATCH] fix net/tptest to build with clang Message-ID: <201106302255.p5UMtaSV010576@vincent.daemonic.se> Resent-Message-ID: <201106302300.p5UN0LIx038149@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158545 >Category: ports >Synopsis: [PATCH] fix net/tptest 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: Thu Jun 30 23:00:21 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: >How-To-Repeat: >Fix: Attached patch makes net/tptest build using clang, instead of hardcoding gcc. --- net.tptest.clangfix.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/tptest/Makefile,v retrieving revision 1.8 diff -u -d -r1.8 Makefile --- Makefile 18 Dec 2009 12:17:52 -0000 1.8 +++ Makefile 30 Jun 2011 22:53:45 -0000 @@ -15,6 +15,10 @@ PLIST_FILES= bin/tptestclient bin/tptestserver +post-patch: + ${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/apps/unix/client/Makefile + ${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/apps/unux/server/Makefile + do-build: @cd ${WRKSRC}/apps/unix/client; ${MAKE} @cd ${WRKSRC}/apps/unix/server; ${MAKE} --- net.tptest.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?201106302255.p5UMtaSV010576>