pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/www/webkit-gtk



Hello all,

Joerg Sonnenberger writes:
> _USE_PKGSRC_GCC?
Thank you for the tip!

Please review and if it is ok please apply attached patches that should
fix the problem described.


Thank you again,
Ciao,
L.
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/www/webkit-gtk/Makefile.common,v
retrieving revision 1.40
diff -u -r1.40 Makefile.common
--- Makefile.common     31 Mar 2015 15:55:44 -0000      1.40
+++ Makefile.common     1 Apr 2015 12:18:30 -0000
@@ -28,6 +28,11 @@
                        --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 \
@@ -54,7 +59,6 @@
 
 CXXFLAGS.SunOS+=       -fpermissive
 
-.include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 CXXFLAGS+=     -std=c++11 -Wno-c++11-narrowing
 .endif


Home | Main Index | Thread Index | Old Index