FreeBSD Bugzilla – Attachment 197219 Details for
Bug 230213
math/p5-Math-Pari: fail to link with lld as /usr/bin/ld on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix LLD on i386
pari (text/plain), 1.03 KB, created by
Nathan
on 2018-09-18 23:42:37 UTC
(
hide
)
Description:
Fix LLD on i386
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-09-18 23:42:37 UTC
Size:
1.03 KB
patch
obsolete
>Index: math/p5-Math-Pari/Makefile >=================================================================== >--- math/p5-Math-Pari/Makefile (revision 480022) >+++ math/p5-Math-Pari/Makefile (working copy) >@@ -23,7 +23,6 @@ > > USES= perl5 > USE_PERL5= configure >-LLD_UNSAFE= yes # lld defaults to -ztext > > PARI_WRKSRC= ${WRKDIR}/pari-2.3.5 > >@@ -33,6 +32,8 @@ > paridir=${PARI_WRKSRC} > MAKE_ARGS= LDLOADLIBS="-lm -L${PARI_WRKSRC}/build -Wl,-rpath=${SITE_ARCH}/auto/Math/Pari -lpari" > >+.include <bsd.port.options.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's|2001007|2003000|' ${WRKSRC}/Makefile.PL > @${REINPLACE_CMD} -E '/^list=/s/(ld|ranlib|perl|emacs)//g' \ >@@ -39,7 +40,9 @@ > ${PARI_WRKSRC}/Configure > @${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \ > ${PARI_WRKSRC}/config/get_cc >- >+.if ${ARCH} == "i386" >+ ${REINPLACE_CMD} -e 's|-Wl|-Wl,-znotext|' ${PARI_WRKSRC}/config/ldflags >+.endif > pre-configure: > cd ${PARI_WRKSRC} && ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ > CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230213
: 197219