ports/158131: [PATCH] fix graphics/fujiplay to build using clang
Niclas Zeising
niclas.zeising at gmail.com
Tue Jun 21 17:30:11 UTC 2011
>Number: 158131
>Category: ports
>Synopsis: [PATCH] fix graphics/fujiplay 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: Tue Jun 21 17:30:11 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:
grahics/fujiplay hardcodes CC = gcc in vendor makefile.
>How-To-Repeat:
>Fix:
Attached patch fixes grahics/fujiplay to build using default system compiler.
--- graphics.fujiplay.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/fujiplay/Makefile,v
retrieving revision 1.9
diff -u -d -r1.9 Makefile
--- Makefile 24 Aug 2008 19:46:21 -0000 1.9
+++ Makefile 21 Jun 2011 17:23:49 -0000
@@ -21,6 +21,9 @@
PLIST_FILES= bin/fujiplay bin/yycc2ppm
PORTDOCS= README fujiplay.lsm mx700-commands.html
+post-patch:
+ ${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
+
do-install:
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
.if !defined(NOPORTDOCS)
--- graphics.fujiplay.clangfix.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list