summaryrefslogtreecommitdiff
path: root/www/webkit-gtk/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk/Makefile.common')
-rw-r--r--www/webkit-gtk/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/webkit-gtk/Makefile.common b/www/webkit-gtk/Makefile.common
index a85fb0ae1f1..b4b70dc09cc 100644
--- a/www/webkit-gtk/Makefile.common
+++ b/www/webkit-gtk/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2013/04/10 11:16:39 drochner Exp $
+# $NetBSD: Makefile.common,v 1.24 2013/05/09 14:04:42 joerg Exp $
# used by www/webkit-gtk/Makefile
# used by www/webkit-gtk3/Makefile
@@ -51,6 +51,11 @@ CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
CXXFLAGS.SunOS+= -fpermissive
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing
+.endif
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"