ports/187090: [patch] math/blacs: fix build on FreeBSD/i386 8.x
Tijl Coosemans
tijl at FreeBSD.org
Wed Feb 26 18:30:01 UTC 2014
>Number: 187090
>Category: ports
>Synopsis: [patch] math/blacs: fix build on FreeBSD/i386 8.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 26 18:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tijl Coosemans
>Release: FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
Replace "ld" with "${LD}" so the right linker is used. This fixes:
http://beefy1.isc.freebsd.org/bulk/83i386-default/2014-02-26_04h40m08s/logs/errors/blacs-1.7_15.log
Redports test builds:
https://redports.org/buildarchive/20140226154000-28270/
>How-To-Repeat:
>Fix:
--- blacs.patch begins here ---
Index: math/blacs/Makefile
===================================================================
--- math/blacs/Makefile (revision 345783)
+++ math/blacs/Makefile (working copy)
@@ -90,7 +90,7 @@ post-build:
${MV} ${WRKSRC_SHARED}/LIB/blacsCinit_MPI-FreeBSD-${DEBUG_LEVEL}.a ${WRKSRC_SHARED}/LIB/libblacs.a
${FIND} ${WRKSRC_SHARED} -name "*\.a" -exec ${MV} {} ${WRKDIR}/tmp_shared \;
cd ${WRKDIR}/tmp_shared ; for i in `ls *.a | ${SED} 's/\.a//' `; do \
- ld -Bshareable -o $${i}.so.${SVERSION} -x -soname $${i}.so.${SVERSION} --whole-archive $${i}.a ;\
+ ${LD} -Bshareable -o $${i}.so.${SVERSION} -x -soname $${i}.so.${SVERSION} --whole-archive $${i}.a ;\
${LN} -s $${i}.so.${SVERSION} $${i}.so ;\
done
--- blacs.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list