svn commit: r344318 - head/Mk/Uses
Tijl Coosemans
tijl at FreeBSD.org
Fri Feb 14 22:29:06 UTC 2014
Author: tijl
Date: Fri Feb 14 22:29:05 2014
New Revision: 344318
URL: http://svnweb.freebsd.org/changeset/ports/344318
QAT: https://qat.redports.org/buildarchive/r344318/
Log:
- Also set link_all_deplibs_(CXX|F77|FC)=no.
- In libtool 1.3 set deplibs_check_method=pass_all like it is in later
versions. This avoids checking every library with file(1) to see if
it's really a library and avoids some incorrect uses of expr(1)
("expr $var" instead of "expr -- $var" where $var can start with -l).
The parsing of file(1) output is also tested during configure on
/usr/lib/libc.so.* which doesn't exist so configure printed a big (but
harmless) warning.
Approved by: bapt
Modified:
head/Mk/Uses/libtool.mk
Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk Fri Feb 14 21:49:15 2014 (r344317)
+++ head/Mk/Uses/libtool.mk Fri Feb 14 22:29:05 2014 (r344318)
@@ -19,8 +19,10 @@ _INCLUDE_USES_LIBTOOL_POST_MK= yes
patch-libtool:
@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \
-type f | ${XARGS} ${REINPLACE_CMD} \
- -e '/link_all_deplibs=/s/=unknown/=no/' \
- -e '/objformat=/s/echo aout/echo elf/'
+ -e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/' \
+ -e '/objformat=/s/echo aout/echo elf/' \
+ -e "/freebsd-elf\\*)/,/;;/ { \
+ /deplibs_check_method=/s/=.*/=pass_all/; }"
.if ! ${libtool_ARGS:Moldver}
@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \
More information about the svn-ports-all
mailing list