Date: Thu, 1 Dec 2011 04:30:19 GMT From: Jason Bacon <jwbacon@tds.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162988: port bug: math/octave fails to link libumfpack Message-ID: <201112010430.pB14UJwn038837@red.freebsd.org> Resent-Message-ID: <201112010440.pB14e9wa029288@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162988 >Category: ports >Synopsis: port bug: math/octave fails to link libumfpack >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 01 04:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: 8.2-RELEASE >Organization: Acadix Consulting, LLC >Environment: FreeBSD sculpin.jbacon.dyndns.org 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The octave configure script fails to link the test case for libumfpack and therefore does not include libumfpack in the build. >How-To-Repeat: Run "make configure" and examine config.log. or Download matpower 4.0 and try running runpf('case9'). It fails, claiming that umfpack is not installed, although it is there as part of suitesparse. >Fix: See attached diff for a quick fix. Patch attached with submission follows: diff -ruN octave/Makefile octave.new/Makefile --- octave/Makefile 2011-11-22 05:14:06.000000000 -0600 +++ octave.new/Makefile 2011-11-30 21:40:25.000000000 -0600 @@ -101,6 +101,7 @@ post-patch: ${REINPLACE_CMD} 's+"makeinfo"+"${PREFIX}/bin/makeinfo"+' ${WRKSRC}/src/help.cc + ${REINPLACE_CMD} 's+-lumfpack+-lumfpack -lcholmod -lcolamd -llapack+' ${WRKSRC}/configure post-install: ${MKDIR} ${DESKTOPDIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112010430.pB14UJwn038837>