From c4816a48cce65dc4d8a4e8bf759c870844f7fef4 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 3 Dec 2003 06:14:42 +0000 Subject: Build the DynaLoader with -fPIC to fix some build problems on amd64. Submitted by: tobez Approved by: portmgr (implicit) --- lang/perl5.6/files/patch-DynaLoader-Makefile.PL | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lang/perl5.6/files/patch-DynaLoader-Makefile.PL (limited to 'lang/perl5.6/files/patch-DynaLoader-Makefile.PL') 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 000000000000..9d01fad88e5c --- /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', -- cgit v1.2.3