diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5.14/Makefile | 11 | ||||
-rw-r--r-- | lang/perl5.14/files/patch-Makefile.SH | 17 | ||||
-rw-r--r-- | lang/perl5.16/Makefile | 11 | ||||
-rw-r--r-- | lang/perl5.16/files/patch-Makefile.SH | 17 | ||||
-rw-r--r-- | lang/perl5.18/Makefile | 11 | ||||
-rw-r--r-- | lang/perl5.18/files/patch-Makefile.SH | 17 | ||||
-rw-r--r-- | lang/perl5.20/Makefile | 11 | ||||
-rw-r--r-- | lang/perl5.20/files/patch-Makefile.SH | 17 |
8 files changed, 56 insertions, 56 deletions
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index b04dd5e67c34..34ced314e3c1 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/Makefile @@ -68,6 +68,12 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Dotherlibdirs=${PREFIX}/lib/perl5/site_perl/${PERL_VER}:${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \ -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \ -Dcc="${CC}" -Duseshrplib -Dinc_version_list=none +# Keep the following two in sync. +# lddlflags is used for all .so linking +# shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. +CONFIGURE_ARGS+= \ + -Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl' \ + -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL:R)' LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ LC_TIME="" @@ -203,11 +209,6 @@ post-extract: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh - # Keep the following two sync'ed - ${REINPLACE_CMD} -e 's|lddlflags="-shared "|lddlflags="-shared -L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl "|' \ - ${WRKSRC}/hints/freebsd.sh - ${REINPLACE_CMD} -e 's|%%HOLDER%%|:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl|' \ - ${WRKSRC}/Makefile.SH .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ diff --git a/lang/perl5.14/files/patch-Makefile.SH b/lang/perl5.14/files/patch-Makefile.SH index bf9d9f942ceb..927102da16cd 100644 --- a/lang/perl5.14/files/patch-Makefile.SH +++ b/lang/perl5.14/files/patch-Makefile.SH @@ -1,11 +1,10 @@ --- Makefile.SH.orig 2012-12-19 12:25:23 UTC +++ Makefile.SH -@@ -762,7 +762,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI - true) - $spitshell >>$Makefile <<'!NO!SUBS!' - rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS%%HOLDER%%) -Wl,-soname,$(LIBPERL:R) $(obj) $(DYNALOADER) $(libs) - !NO!SUBS! - case "$osname" in - aix) +@@ -28,7 +28,6 @@ esac + + linklibperl='$(LIBPERL)' + linklibperl_nonshr='' +-shrpldflags='$(LDDLFLAGS)' + ldlibpth='' + DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB' + DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL' diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index ab348dc20839..8b54d3e99553 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -68,6 +68,12 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Dotherlibdirs=${PREFIX}/lib/perl5/site_perl/${PERL_VER}:${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \ -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \ -Dcc="${CC}" -Duseshrplib -Dinc_version_list=none +# Keep the following two in sync. +# lddlflags is used for all .so linking +# shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. +CONFIGURE_ARGS+= \ + -Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl' \ + -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL:R)' LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ LC_TIME="" @@ -203,11 +209,6 @@ post-extract: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh - # Keep the following two sync'ed - ${REINPLACE_CMD} -e 's|lddlflags="-shared "|lddlflags="-shared -L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl "|' \ - ${WRKSRC}/hints/freebsd.sh - ${REINPLACE_CMD} -e 's|%%HOLDER%%|:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl|' \ - ${WRKSRC}/Makefile.SH .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ diff --git a/lang/perl5.16/files/patch-Makefile.SH b/lang/perl5.16/files/patch-Makefile.SH index 28685ca0c0ef..37dff0dded7c 100644 --- a/lang/perl5.16/files/patch-Makefile.SH +++ b/lang/perl5.16/files/patch-Makefile.SH @@ -1,11 +1,10 @@ --- Makefile.SH.orig 2013-03-04 15:16:21 UTC +++ Makefile.SH -@@ -795,7 +795,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI - true) - $spitshell >>$Makefile <<'!NO!SUBS!' - rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS%%HOLDER%%) -Wl,-soname,$(LIBPERL:R) $(obj) $(DYNALOADER) $(libs) - !NO!SUBS! - case "$osname" in - aix) +@@ -28,7 +28,6 @@ esac + + linklibperl='$(LIBPERL)' + linklibperl_nonshr='' +-shrpldflags='$(LDDLFLAGS)' + ldlibpth='' + DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB' + DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL' diff --git a/lang/perl5.18/Makefile b/lang/perl5.18/Makefile index 8cae3d820a56..e5ed96f3692e 100644 --- a/lang/perl5.18/Makefile +++ b/lang/perl5.18/Makefile @@ -85,6 +85,12 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Dotherlibdirs=${PREFIX}/lib/perl5/site_perl/${PERL_VER}:${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \ -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \ -Dcc="${CC}" -Duseshrplib -Dinc_version_list=none +# Keep the following two in sync. +# lddlflags is used for all .so linking +# shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. +CONFIGURE_ARGS+= \ + -Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl' \ + -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL:R)' LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ LC_TIME="" @@ -181,11 +187,6 @@ post-extract: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh - # Keep the following two sync'ed - ${REINPLACE_CMD} -e 's|lddlflags="-shared "|lddlflags="-shared -L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl "|' \ - ${WRKSRC}/hints/freebsd.sh - ${REINPLACE_CMD} -e 's|%%HOLDER%%|:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl|' \ - ${WRKSRC}/Makefile.SH .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ diff --git a/lang/perl5.18/files/patch-Makefile.SH b/lang/perl5.18/files/patch-Makefile.SH index 1898e1614c1b..e3e79e773429 100644 --- a/lang/perl5.18/files/patch-Makefile.SH +++ b/lang/perl5.18/files/patch-Makefile.SH @@ -1,11 +1,10 @@ --- Makefile.SH.orig 2014-10-01 15:23:34 UTC +++ Makefile.SH -@@ -805,7 +805,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI - true) - $spitshell >>$Makefile <<'!NO!SUBS!' - rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS%%HOLDER%%) -Wl,-soname,$(LIBPERL:R) $(obj) $(DYNALOADER) $(libs) - !NO!SUBS! - case "$osname" in - aix) +@@ -40,7 +40,6 @@ esac + pwd="`pwd`" + linklibperl='$(LIBPERL)' + linklibperl_nonshr='' +-shrpldflags='$(LDDLFLAGS)' + ldlibpth='' + DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB' + DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL' diff --git a/lang/perl5.20/Makefile b/lang/perl5.20/Makefile index bc843c72dd5b..8d20d9e196c2 100644 --- a/lang/perl5.20/Makefile +++ b/lang/perl5.20/Makefile @@ -85,6 +85,12 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Dsiteman1dir=${PREFIX}/man/man1 \ -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \ -Dcc="${CC}" -Duseshrplib -Dinc_version_list=none +# Keep the following two in sync. +# lddlflags is used for all .so linking +# shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. +CONFIGURE_ARGS+= \ + -Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl' \ + -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL:R)' # When upgrading to 5.22+ remove this. CONFIGURE_ARGS+= \ -Dotherlibdirs=${PREFIX}/lib/perl5/site_perl/${PERL_VER}:${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} @@ -178,11 +184,6 @@ post-extract: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh - # Keep the following two sync'ed - ${REINPLACE_CMD} -e 's|lddlflags="-shared "|lddlflags="-shared -L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE -lperl "|' \ - ${WRKSRC}/hints/freebsd.sh - ${REINPLACE_CMD} -e 's|%%HOLDER%%|:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-Wl,-rpath=${PREFIX}/${_ARCH_LIB}/CORE:N-lperl|' \ - ${WRKSRC}/Makefile.SH .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ diff --git a/lang/perl5.20/files/patch-Makefile.SH b/lang/perl5.20/files/patch-Makefile.SH index 0b16689eda37..ee625db7951f 100644 --- a/lang/perl5.20/files/patch-Makefile.SH +++ b/lang/perl5.20/files/patch-Makefile.SH @@ -1,11 +1,10 @@ --- Makefile.SH.orig 2014-09-14 11:30:59 UTC +++ Makefile.SH -@@ -838,7 +838,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI - true) - $spitshell >>$Makefile <<'!NO!SUBS!' - rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS%%HOLDER%%) -Wl,-soname,$(LIBPERL:R) $(obj) $(DYNALOADER) $(libs) - !NO!SUBS! - case "$osname" in - aix) +@@ -31,7 +31,6 @@ esac + pwd="`pwd`" + linklibperl='$(LIBPERL)' + linklibperl_nonshr='' +-shrpldflags='$(LDDLFLAGS)' + ldlibpth='' + DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB' + DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL' |