svn commit: r345763 - head/french/aster
Gerald Pfeifer
gerald at FreeBSD.org
Sun Feb 23 20:50:11 UTC 2014
Author: gerald
Date: Sun Feb 23 20:50:10 2014
New Revision: 345763
URL: http://svnweb.freebsd.org/changeset/ports/345763
QAT: https://qat.redports.org/buildarchive/r345763/
Log:
Use ${LDFLAGS} instead of constructing -L${LOCALBASE}/lib/${CC} manually
(plus this now also provides proper -rpath for GCC runtime libraries).
Approved by: thierry (maintainer)
Modified:
head/french/aster/Makefile
Modified: head/french/aster/Makefile
==============================================================================
--- head/french/aster/Makefile Sun Feb 23 20:48:45 2014 (r345762)
+++ head/french/aster/Makefile Sun Feb 23 20:50:10 2014 (r345763)
@@ -261,7 +261,7 @@ pre-configure:
.endif
${ECHO_CMD} "CC='${CC}'" >> ${WRKSRC}/setup.cfg
${ECHO_CMD} "CXX='${CXX}'" >> ${WRKSRC}/setup.cfg
- ${ECHO_CMD} "CXXLIB = '-L${LOCALBASE}/lib/${CC} -lstdc++ -lsupc++'" \
+ ${ECHO_CMD} "CXXLIB = '${LDFLAGS} -lstdc++ -lsupc++'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "LD='${FC}'" >> ${WRKSRC}/setup.cfg
${ECHO_CMD} "F90='${LOCALBASE}/bin/${FC}'" >> ${WRKSRC}/setup.cfg
More information about the svn-ports-head
mailing list