svn commit: r341658 - head/Mk/Uses
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 28 21:31:50 UTC 2014
Author: bapt
Date: Tue Jan 28 21:31:50 2014
New Revision: 341658
URL: http://svnweb.freebsd.org/changeset/ports/341658
QAT: https://qat.redports.org/buildarchive/r341658/
Log:
Fix usage with older make
Modified:
head/Mk/Uses/libtool.mk
Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk Tue Jan 28 21:21:09 2014 (r341657)
+++ head/Mk/Uses/libtool.mk Tue Jan 28 21:31:50 2014 (r341658)
@@ -10,6 +10,7 @@
.if !defined(_INCLUDE_USES_LIBTOOL_MK)
_INCLUDE_USES_LIBTOOL_MK= yes
_USES_POST+= libtool
+libtool_ARGS?=
.endif
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_LIBTOOL_POST_MK)
@@ -21,7 +22,7 @@ patch-libtool:
-e '/link_all_deplibs=/s/=unknown/=no/' \
-e '/objformat=/s/echo aout/echo elf/'
-.if "${libtool_ARGS}" != oldver
+.if ! ${libtool_ARGS:Moldver}
@${FIND} ${WRKDIR} -type f -name configure | \
${XARGS} ${REINPLACE_CMD} \
-e "/freebsd-elf\*)/,+1 s/library_names_spec=.*/ \
More information about the svn-ports-all
mailing list