aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk30
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-24 02:00:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-24 02:00:10 +0000
commit12045a9696354729af6a854710f5ee6983175b5c (patch)
treee9fb2ace1bc1401b1e957fde132e27f59bae34aa /x11-toolkits/wxgtk30
parentd5ce7749e1392aa0a26701026878deadb19ff28a (diff)
downloadports-12045a9696354729af6a854710f5ee6983175b5c.tar.gz
ports-12045a9696354729af6a854710f5ee6983175b5c.zip
- Fix library on < 10.x after webkit-gtk2 update
Some dependent ports may need USES=compiler:c++11-lib as well PR: 196703 [1], 197031 [2] Submitted by: beastie@tardisi.com [1], amdmi3 [2] Approved by: portmaster@bsdforge.com (maintainer) MFH: 2015Q1
Notes
Notes: svn path=/head/; revision=377776
Diffstat (limited to 'x11-toolkits/wxgtk30')
-rw-r--r--x11-toolkits/wxgtk30/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile
index b3006da2ffbe..5265bf14ab7b 100644
--- a/x11-toolkits/wxgtk30/Makefile
+++ b/x11-toolkits/wxgtk30/Makefile
@@ -2,7 +2,7 @@
PORTNAME= wx
PORTVERSION= 3.0.2
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= x11-toolkits
MASTER_SITES= SF/wxwindows/${PORTVERSION}
PKGNAMESUFFIX= 30-gtk2
@@ -17,7 +17,7 @@ LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png\
libexpat.so:${PORTSDIR}/textproc/expat2\
libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
-USES+= iconv gmake pkgconfig tar:bzip2
+USES+= compiler:c++11-lib iconv gmake pkgconfig tar:bzip2
USE_XORG= x11 sm xxf86vm xinerama
USE_GL= glu
USE_GNOME= gtk20
@@ -52,4 +52,11 @@ GSTREAMER_USE= GNOME=gconf2 GSTREAMER=yes
MSPACK_CONFIGURE_WITH= libmspack
MSPACK_LIB_DEPENDS= libmspack.so:${PORTSDIR}/archivers/libmspack
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# PR 196703, 197031
+.if ${COMPILER_TYPE} == "gcc"
+CONFIGURE_ARGS+=--disable-precomp-headers
+.endif
+
+.include <bsd.port.post.mk>