[Bug 209173] lang/perl5.22: port build has inappropriate use of -Wl, -R/usr/local/lib/perl5/5.22/mach/CORE before the update libperl.so.5.22.2 is there to use (11.0-CURRENT in use)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 15 02:28:22 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209173
--- Comment #9 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mathieu Arnold from comment #7)
No difference after the patch I'm afraid: It still says. . .
Adding -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE to the flags passed to . . .
so that the perl executable will find the installed shared libperl.so.5.22.2
and so still looks for the libperl.so* in /usr/local/lib/perl5/5.22/mach/CORE
before the updated material has been installed there. find/grep still shows:
cdlflags=' -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE'
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/config.sh
CCDLFLAGS = -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Makefile
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.22/mach/CORE'
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/myconfig
CCDLFLAGS = -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/makefile
CCDLFLAGS = -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/makefile.old
As far as the applied patch goes: The lang/perl5.22 difference from /usr/ports
-r414889 was:
# svnlite diff /usr/ports/lang/perl5.22
Index: /usr/ports/lang/perl5.22/Makefile
===================================================================
--- /usr/ports/lang/perl5.22/Makefile (revision 414889)
+++ /usr/ports/lang/perl5.22/Makefile (working copy)
@@ -91,8 +91,8 @@
# 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 -lperl' \
-
-Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-lperl)
-Wl,-soname,$$(LIBPERL:R)'
+ -Alddlflags='-L${WRKSRC} -lperl' \
+ -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-lperl)
-Wl,-soname,$$(LIBPERL:R)'
# Give a hint of where libperl.so can be found.
USE_LDCONFIG= ${PREFIX}/${_ARCH_LIB}/CORE
@@ -233,7 +233,7 @@
${WRKSRC}/hints/freebsd.sh
post-build:
- @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \
+ @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC}
|-L${PREFIX}/${_ARCH_LIB}/CORE |' \
${WRKSRC}/lib/Config_heavy.pl
.if ${CC} == /nxb-bin/usr/bin/cc
@${REINPLACE_CMD} -e 's=/nxb-bin==‘ \
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-perl
mailing list