From a6a6c9c08f8f59c995f5eaefc7c70b6b41372e29 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 13 Sep 2016 14:19:00 +0000 Subject: [PATCH] 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 --- www/p5-Gtk2-WebKit/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/p5-Gtk2-WebKit/Makefile b/www/p5-Gtk2-WebKit/Makefile index e3a4c7051092..44ad62b72db2 100644 --- a/www/p5-Gtk2-WebKit/Makefile +++ b/www/p5-Gtk2-WebKit/Makefile @@ -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