svn commit: r422010 - head/www/p5-Gtk2-WebKit

Mathieu Arnold mat at FreeBSD.org
Tue Sep 13 14:19:02 UTC 2016


Author: mat
Date: Tue Sep 13 14:19:00 2016
New Revision: 422010
URL: https://svnweb.freebsd.org/changeset/ports/422010

Log:
  Attempt at fixing the port for FreeBSD 9. It still fails, but it is
  getting closer.
  
  The build error is:
  
  /usr/local/bin/perl5 -I blib/lib -I blib/arch -MGlib::GenPod
  -MGtk2::WebKit  -e "add_types
  (qq(\/usr\/local\/lib\/perl5\/site_perl\/mach\/5\.20\/Glib\/Install\/doctypes),
   qq(\/usr\/local\/lib\/perl5\/site_perl\/mach\/5\.20\/Cairo\/Install\/doctypes),
   qq(\/usr\/local\/lib\
     /perl5\/site_perl\/mach\/5\.20\/Pango\/Install\/doctypes),
   qq(\/usr\/local\/lib\/perl5\/site_perl\/mach\/5\.20\/Gtk2\/Install\/doctypes));
  Glib::GenPod::set_copyright(qq/Copyright (C) 2008, Florian Ragwitz/);
  Glib::GenPod::set_main_mod(qq(Gtk2::WebKit));  xsdoc2pod(q(bui
        ld/doc.pl), q(blib/lib), q(build/podindex));"
  Can't load 'blib/arch/auto/Gtk2/WebKit/WebKit.so' for module
  Gtk2::WebKit: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.14 required
  by /usr/local/lib/libwebkitgtk-1.0.so.0 not found at
  /usr/local/lib/perl5/5.20/mach/DynaLoader.pm line 193.
   at -e line 0.
   Compilation failed in require.
   BEGIN failed--compilation aborted.
   *** [build/podindex] Error code 2
  
  Sponsored by:	Absolight

Modified:
  head/www/p5-Gtk2-WebKit/Makefile   (contents, props changed)

Modified: head/www/p5-Gtk2-WebKit/Makefile
==============================================================================
--- head/www/p5-Gtk2-WebKit/Makefile	Tue Sep 13 14:18:54 2016	(r422009)
+++ head/www/p5-Gtk2-WebKit/Makefile	Tue Sep 13 14:19:00 2016	(r422010)
@@ -25,7 +25,11 @@ MAKE_JOBS_UNSAFE=	yes
 # blocked since 2010.  Remove to see if it works on all systems again
 #NO_PACKAGE=	Man page creation hangs on some systems for unknown reasons
 
-USES=		perl5
+USES=		compiler:c++11-lib perl5
 USE_PERL5=	configure
+CONFIGURE_ARGS=	LDFLAGS="${LDFLAGS}" LD=${CC}
+MAKE_ARGS=	OTHERLDFLAGS="${LDFLAGS}"
+
+BROKEN_FreeBSD_9=	Perl messes up the linking
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list