diff options
author | marcus <marcus@FreeBSD.org> | 2003-12-03 14:14:42 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-12-03 14:14:42 +0800 |
commit | 648f28f052d6a842636c0b1c152ffb9da9358cab (patch) | |
tree | 57ba3857bb5723cecf9d4041182d8769eae8c94d /lang | |
parent | 4ad6e27ce3efb5dcbdf7bb37a7939a6a23ca230e (diff) | |
download | freebsd-ports-gnome-648f28f052d6a842636c0b1c152ffb9da9358cab.tar.gz freebsd-ports-gnome-648f28f052d6a842636c0b1c152ffb9da9358cab.tar.zst freebsd-ports-gnome-648f28f052d6a842636c0b1c152ffb9da9358cab.zip |
Build the DynaLoader with -fPIC to fix some build problems on amd64.
Submitted by: tobez
Approved by: portmgr (implicit)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5.6/Makefile | 2 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-DynaLoader-Makefile.PL | 11 | ||||
-rw-r--r-- | lang/perl5/Makefile | 2 | ||||
-rw-r--r-- | lang/perl5/files/patch-DynaLoader-Makefile.PL | 11 |
4 files changed, 24 insertions, 2 deletions
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile index 39b169c73059..a69653039f61 100644 --- a/lang/perl5.6/Makefile +++ b/lang/perl5.6/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VER} -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= lang devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ ${MASTER_SITE_LOCAL:S/$/:local/} 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', diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 39b169c73059..a69653039f61 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VER} -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= lang devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ ${MASTER_SITE_LOCAL:S/$/:local/} diff --git a/lang/perl5/files/patch-DynaLoader-Makefile.PL b/lang/perl5/files/patch-DynaLoader-Makefile.PL new file mode 100644 index 000000000000..9d01fad88e5c --- /dev/null +++ b/lang/perl5/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', |