ports/181504: [ports/devel/liboil] Fix build error by CC=clang
Norikatsu Shigemura
nork at FreeBSD.org
Sat Aug 24 15:50:00 UTC 2013
>Number: 181504
>Category: ports
>Synopsis: [ports/devel/liboil] Fix build error by CC=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: Sat Aug 24 15:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Norikatsu Shigemura
>Release: FreeBSD/amd64 on 10-current
>Organization:
Personal
>Environment:
FreeBSD pelsia.ninth-nine.com 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r254715M: Sat Aug 24 10:27:09 JST 2013 nork at pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA amd64
>Description:
liboil's Makefile defined USE_GCC=any, so not use clang.
But there is clang test code, so no longer use.
>How-To-Repeat:
$ cd /usr/ports/devel/liboil
$ env CC=clang make
>Fix:
Please apply my patch.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 325271)
+++ Makefile (working copy)
@@ -25,10 +25,6 @@
--disable-glib
CFLAGS:= ${CFLAGS:N-O*} -O2
-.if ${CC:T:M*clang*}
-CFLAGS+= -fheinous-gnu-extensions
-.endif
-
.include <bsd.port.pre.mk>
post-patch:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list