diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-09 14:04:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-09 14:04:42 +0000 |
commit | 05c462139cce4ffd6f9d987fe8c803c7bea64843 (patch) | |
tree | bc14532c6d4dfef48cf0feae6ff059ba743ca822 /www/webkit-gtk/Makefile.common | |
parent | 60a6e35a1391e52f01d1666d99b5a6d7a44b20de (diff) | |
download | pkgsrc-05c462139cce4ffd6f9d987fe8c803c7bea64843.tar.gz |
Allow building with libc++. Add some missing includes.
Diffstat (limited to 'www/webkit-gtk/Makefile.common')
-rw-r--r-- | www/webkit-gtk/Makefile.common | 7 |
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" |