1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fix usage with older make

This commit is contained in:
Baptiste Daroussin 2014-01-28 21:31:50 +00:00
parent ce67f5d1d3
commit 17bcd07e7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341658

View File

@ -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=.*/ \