Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 19:19:51 +0100 (CET)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187090: [patch] math/blacs: fix build on FreeBSD/i386 8.x
Message-ID:  <201402261819.s1QIJplV034173@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201402261830.s1QIU0ST039868@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402261819.s1QIJplV034173>