diff options
author | wiz <wiz@pkgsrc.org> | 2015-06-01 20:58:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-06-01 20:58:37 +0000 |
commit | b9554de4424372931bb12e42e76070bf55c9626b (patch) | |
tree | 2c0e350fb4427e2df238f3e9bcb265269994f8ef /www/webkit-gtk | |
parent | ff0939d03b307dff549eae6c4a8298d4f1cd5ecf (diff) | |
download | pkgsrc-b9554de4424372931bb12e42e76070bf55c9626b.tar.gz |
Fix build on NetBSD-6.x.
Patch from Leonardo Taccari, tested with current pkgsrc version
by Marc Baudoin.
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r-- | www/webkit-gtk/Makefile.common | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/webkit-gtk/Makefile.common b/www/webkit-gtk/Makefile.common index c0907adcd11..187b970ec92 100644 --- a/www/webkit-gtk/Makefile.common +++ b/www/webkit-gtk/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.41 2015/05/28 05:30:51 wiz Exp $ +# $NetBSD: Makefile.common,v 1.42 2015/06/01 20:58:37 wiz Exp $ # used by www/webkit-gtk/Makefile DISTNAME= webkitgtk-2.4.9 @@ -29,6 +29,11 @@ CONFIGURE_ARGS+= --enable-x11-target \ --disable-geolocation \ --disable-gtk-doc-html +.include "../../mk/compiler.mk" +.if (!empty(PKGSRC_COMPILER:Mgcc) && !empty(_USE_PKGSRC_GCC:M[yY][eE][sS])) +BUILDLINK_TRANSFORM+= rm:-D_FORTIFY_SOURCE=2 +.endif + .include "options.mk" REPLACE_PERL+= Source/JavaScriptCore/create_hash_table \ @@ -55,7 +60,6 @@ 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 |