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 | b90d71fd1eda50336b67664db95f2f571b832f79 (patch) | |
tree | 2c0e350fb4427e2df238f3e9bcb265269994f8ef /www | |
parent | d37fb6a046698a6cea558bfce278f5d2f646ccf0 (diff) | |
download | pkgsrc-b90d71fd1eda50336b67664db95f2f571b832f79.tar.gz |
Fix build on NetBSD-6.x.
Patch from Leonardo Taccari, tested with current pkgsrc version
by Marc Baudoin.
Diffstat (limited to 'www')
-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 |