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
This commit is contained in:
parent
58a18b9bd2
commit
6e6e43466e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409666
@ -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});
|
||||
|
Loading…
Reference in New Issue
Block a user