ports/158538: [PATCH] fix misc/upclient to build using clang

Niclas Zeising niclas.zeising at gmail.com
Thu Jun 30 20:40:08 UTC 2011


>Number:         158538
>Category:       ports
>Synopsis:       [PATCH] fix misc/upclient to build using 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 20:40:07 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 at vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	Attached patch makes misc/upclient build using clang.

--- misc.upclient.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/Makefile,v
retrieving revision 1.38
diff -u -d -r1.38 Makefile
--- Makefile	31 May 2010 02:00:05 -0000	1.38
+++ Makefile	30 Jun 2011 20:33:34 -0000
@@ -56,6 +56,7 @@
 	@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
 		${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \
 		${WRKSRC}/src/Makefile
+	${REINPLACE_CMD} -e 's/CC=gcc/CC=${CC}/' ${WRKSRC}/src/Makefile
 
 # Install
 #
--- misc.upclient.clangfix.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list