aboutsummaryrefslogtreecommitdiff
path: root/devel/liboil/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-10-23 20:32:59 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-10-23 20:32:59 +0000
commit8dcd263863dcc81fffd7e9f8e6481d0a6c230cbe (patch)
tree56d9510a0529c0af156e93ec2cb869a2f3f426b5 /devel/liboil/Makefile
parent9355c1a1efcb6358be00239ac657cf9c07e61475 (diff)
downloadports-8dcd263863dcc81fffd7e9f8e6481d0a6c230cbe.tar.gz
ports-8dcd263863dcc81fffd7e9f8e6481d0a6c230cbe.zip
Notes
Diffstat (limited to 'devel/liboil/Makefile')
-rw-r--r--devel/liboil/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index f9e4035975b8..255e78e49171 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -25,23 +25,11 @@ CONFIGURE_ARGS= --disable-gtk-doc \
--disable-glib
CFLAGS:= ${CFLAGS:N-O*} -O2
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
-USE_GCC= 4.2+
-RUN_DEPENDS+= ${BUILD_DEPENDS}
+.if ${CC:T:M*clang*}
+CFLAGS+= -fheinous-gnu-extensions
.endif
-pre-everything::
-.if ${MACHINE_CPU:M3dnow}!="" && ${OSVERSION} < 700042
-.if !defined(WITH_3DNOW_GCC40)
- @${ECHO_MSG} "You can enable 3dnow extensions by defining"
- @${ECHO_MSG} "WITH_3DNOW_GCC40=yes"
-.endif
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Note: ${PORTNAME} will depend on gcc4.0+ with WITH_3DNOW_GCC40"
- @${ECHO_MSG} "defined."
-.endif
+.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \