summaryrefslogtreecommitdiffstats
path: root/lang/perl5.6/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-03 06:14:42 +0000
committermarcus <marcus@FreeBSD.org>2003-12-03 06:14:42 +0000
commit648f28f052d6a842636c0b1c152ffb9da9358cab (patch)
tree57ba3857bb5723cecf9d4041182d8769eae8c94d /lang/perl5.6/files
parent4ad6e27ce3efb5dcbdf7bb37a7939a6a23ca230e (diff)
downloadFreeBSD-ports-648f28f052d6a842636c0b1c152ffb9da9358cab.zip
FreeBSD-ports-648f28f052d6a842636c0b1c152ffb9da9358cab.tar.gz
Build the DynaLoader with -fPIC to fix some build problems on amd64.
Submitted by: tobez Approved by: portmgr (implicit)
Diffstat (limited to 'lang/perl5.6/files')
-rw-r--r--lang/perl5.6/files/patch-DynaLoader-Makefile.PL11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/perl5.6/files/patch-DynaLoader-Makefile.PL b/lang/perl5.6/files/patch-DynaLoader-Makefile.PL
new file mode 100644
index 0000000..9d01fad
--- /dev/null
+++ b/lang/perl5.6/files/patch-DynaLoader-Makefile.PL
@@ -0,0 +1,11 @@
+--- ext/DynaLoader/Makefile.PL.orig Mon Nov 24 21:47:20 2003
++++ ext/DynaLoader/Makefile.PL Mon Nov 24 21:56:15 2003
+@@ -1,5 +1,8 @@
+ use ExtUtils::MakeMaker;
+
++my $ccflags = $Config::Config{ccflags};
++tied(%Config::Config)->{ccflags} = "$ccflags -DPIC -fPIC";
++
+ WriteMakefile(
+ NAME => 'DynaLoader',
+ LINKTYPE => 'static',
OpenPOWER on IntegriCloud