Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 22:29:06 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344318 - head/Mk/Uses
Message-ID:  <201402142229.s1EMT6xm066231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \)	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402142229.s1EMT6xm066231>