diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-02-27 13:26:24 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-02-27 13:26:24 +0000 |
commit | 6e6e43466e8514d38686fa3528abba82877e01e0 (patch) | |
tree | 8bdc2f344304e4686acaf40db3ec447625e26d63 /math/ipopt | |
parent | 58a18b9bd2a003f7c0b49760b59d396e2641c14c (diff) |
Enforce using binutils from ports when linking C++ codes given we use binutils
from ports for fortran
This fixes build for upcoming binutils 2.26
Notes
Notes:
svn path=/head/; revision=409666
Diffstat (limited to 'math/ipopt')
-rw-r--r-- | math/ipopt/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile index 76d09b6c2e01..a4fb9f935753 100644 --- a/math/ipopt/Makefile +++ b/math/ipopt/Makefile @@ -21,7 +21,8 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip -CONFIGURE_ENV+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig +CONFIGURE_ENV+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig \ + CXX="${CXX} -B${LOCALBASE}/bin" CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \ --with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" @@ -36,6 +37,7 @@ post-patch:: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ -e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' + post-extract: @(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." ) @(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS}); |