aboutsummaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-04 23:08:39 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-04 23:08:39 +0000
commit9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12 (patch)
tree0c648743a792d8fc14634bf8a51826acc5b42244 /devel/liboil
parentba5a195a9512dc684f906b58cbaa5440b3e34479 (diff)
downloadports-9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12.tar.gz
ports-9d5aac81f3d86ef0f60efb9b1b16ad0482cb5f12.zip
Notes
Diffstat (limited to 'devel/liboil')
-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