aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-12-02 00:17:33 +0800
committermat <mat@FreeBSD.org>2014-12-02 00:17:33 +0800
commit36ad788dccd27e43a1170d6c9970a7d08530fd17 (patch)
tree0f9e1429685612ac04458013f980d18c358ac6da
parent187fe6b454e043a28611a86a1d53449152106148 (diff)
downloadfreebsd-ports-gnome-36ad788dccd27e43a1170d6c9970a7d08530fd17.tar.gz
freebsd-ports-gnome-36ad788dccd27e43a1170d6c9970a7d08530fd17.tar.zst
freebsd-ports-gnome-36ad788dccd27e43a1170d6c9970a7d08530fd17.zip
Fix build when linking with libperl.so.
With hat: portmgr, perl Sponsored by: Absolight
-rw-r--r--x11-toolkits/p5-Wx/files/patch-build_Wx_build_MakeMaker_Any__wx__config.pm18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Wx/files/patch-build_Wx_build_MakeMaker_Any__wx__config.pm b/x11-toolkits/p5-Wx/files/patch-build_Wx_build_MakeMaker_Any__wx__config.pm
new file mode 100644
index 000000000000..7b815f5bfc2f
--- /dev/null
+++ b/x11-toolkits/p5-Wx/files/patch-build_Wx_build_MakeMaker_Any__wx__config.pm
@@ -0,0 +1,18 @@
+--- build/Wx/build/MakeMaker/Any_wx_config.pm.orig 2014-03-08 13:01:15 UTC
++++ build/Wx/build/MakeMaker/Any_wx_config.pm
+@@ -39,15 +39,6 @@ sub get_flags {
+ return %config;
+ }
+
+-sub const_config {
+- my $text = shift->SUPER::const_config( @_ );
+-
+- $text =~ s{^(LD(?:DL)?FLAGS\s*=.*?)-L/usr/local/lib64/?}{$1}mg;
+- $text =~ s{^(LD(?:DL)?FLAGS\s*=.*?)-L/usr/local/lib/?}{$1}mg;
+-
+- return $text;
+-}
+-
+ 1;
+
+ # local variables: