aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liboil
diff options
context:
space:
mode:
Diffstat (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 6846004e7419..8bd30d30fc06 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -19,9 +19,17 @@ USE_GNOME= glib20 gnomehack
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --disable-gtk-doc
+CFLAGS+= -O2
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600000
+#USE_GCC= 3.4
+BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
+CC:= gcc34
+CXX:= g++34
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/configure