Summary: | math/atlas : really needs USE_GCC | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Christoph Moench-Tegeder <cmt> | ||||
Component: | Individual Port(s) | Assignee: | Brendan Fabeny <bf> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Christoph Moench-Tegeder
2014-03-12 19:10:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->bf Over to maintainer (via the GNATS Auto Assign Tool) Hi, I ran into the same problem on a 9.2 system. The underlying problem seems to be that the required rpath should be set via EXTRA_FLAGS, which in return relies on _GCC_RUNTIME. This latter variable is however not set by Uses/fortran.mk, causing the linking problem with the base libraries. USE=gcc sets _GCC_RUNTIME and thus solves this issue, but it might be neater to instead replace EXTRA_FLAGS in the Makefile with FFLAGS. The latter variable is set by Uses/fortran.mk and specifies the correct rpath. This solution would avoid the need for USE=gcc and for the EXTRA_FLAGS variable in the Makefile. This solution compiles and runs fine on my system (see attached patch). Best, Arjan Author: tijl Date: Sat Mar 15 19:01:39 2014 New Revision: 348373 URL: http://svnweb.freebsd.org/changeset/ports/348373 QAT: https://qat.redports.org/buildarchive/r348373/ Log: Fixup for USES=fortran conversion. These ports require USE_GCC=yes because they depend on gcc specific optimisation flags. While here use USES=tar:bzip2. PR: ports/187501 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Modified: head/math/atlas-devel/Makefile head/math/atlas/Makefile Modified: head/math/atlas-devel/Makefile ============================================================================== --- head/math/atlas-devel/Makefile Sat Mar 15 18:48:53 2014 (r348372) +++ head/math/atlas-devel/Makefile Sat Mar 15 19:01:39 2014 (r348373) @@ -16,8 +16,8 @@ IGNORE = : dependent ports have been alt use that port instead of math/atlas-devel, while the latter is being revised MANUAL_PACKAGE_BUILD= Optimizes for the local machine. -USES= fortran gmake -USE_BZIP2= yes +USES= fortran gmake tar:bzip2 +USE_GCC= yes WRKSRC= ${WRKDIR}/ATLAS USE_LDCONFIG= yes CONFLICTS= atlas-[0-9]* cblas-[0-9]* Modified: head/math/atlas/Makefile ============================================================================== --- head/math/atlas/Makefile Sat Mar 15 18:48:53 2014 (r348372) +++ head/math/atlas/Makefile Sat Mar 15 19:01:39 2014 (r348373) @@ -16,8 +16,8 @@ LICENSE= BSD BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/math/lapack:checksum -USE_BZIP2= yes -USES= fortran +USES= fortran tar:bzip2 +USE_GCC= yes CONFLICTS= atlas-devel-[0-9]* cblas-[0-9]* MANUAL_PACKAGE_BUILD= Optimizes for the local machine. _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed in r348373. |