aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 07:08:39 +0800
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 07:08:39 +0800
commit9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12 (patch)
tree0c648743a792d8fc14634bf8a51826acc5b42244 /devel
parentba5a195a9512dc684f906b58cbaa5440b3e34479 (diff)
downloadfreebsd-ports-gnome-9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12.tar.gz
freebsd-ports-gnome-9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12.tar.zst
freebsd-ports-gnome-9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12.zip
Fix with clang is cc is clang, remove the now useless USE_GCC=any
Diffstat (limited to 'devel')
-rw-r--r--devel/liboil/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index cf4e996590be..1cc61fffe1d8 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -13,7 +13,6 @@ COMMENT= Library of optimized inner loops
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GCC= any
USES= pathfix pkgconfig
USE_GNOME= ltverhack
USE_AUTOTOOLS= libtool
@@ -22,7 +21,8 @@ CONFIGURE_ARGS= --disable-gtk-doc \
--disable-glib
CFLAGS:= ${CFLAGS:N-O*} -O2
-.if ${CC:T:M*clang*}
+_COMPILER_VERSION!= ${CC} --version
+.if ${_COMPILER_VERSION:Mclang}
CFLAGS+= -fheinous-gnu-extensions
.endif