svn commit: r379071 - head/Mk/Uses
Jan Beich
jbeich at FreeBSD.org
Mon Feb 16 07:56:48 UTC 2015
Author: jbeich
Date: Mon Feb 16 07:56:47 2015
New Revision: 379071
URL: https://svnweb.freebsd.org/changeset/ports/379071
QAT: https://qat.redports.org/buildarchive/r379071/
Log:
Don't use the default backup suffix
Rename backup file in order to avoid conflict with default suffix as
used by REINPLACE_CMD in post-patch. This facilitates reviewing
changes done by each step after the build.
PR: 197502
Exp-run by: antoine
Approved by: autotools (tijl, maintainer)
Approved by: portmgr (antoine)
Approved by: mentors (implicit)
Modified:
head/Mk/Uses/libtool.mk
Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk Mon Feb 16 07:53:56 2015 (r379070)
+++ head/Mk/Uses/libtool.mk Mon Feb 16 07:56:47 2015 (r379071)
@@ -27,7 +27,7 @@ _INCLUDE_USES_LIBTOOL_POST_MK= yes
patch-libtool:
@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \
- -type f | while read i; do ${SED} -i.bak \
+ -type f | while read i; do ${SED} -i.libtool.bak \
-e '/dragonfly\*/!s/^ *freebsd\*[ )]/dragonfly* | &/' \
-e '/gcc_dir=\\`/s/gcc /$$CC /' \
-e '/gcc_ver=\\`/s/gcc /$$CC /' \
@@ -44,7 +44,7 @@ patch-libtool:
\$$libname\$$release\$$shared_ext\$$major \
\$$libname\$$shared_ext' \
soname_spec='\$$libname\$$release\$$shared_ext\$$major'/; \
- }" $${i} && ${TOUCH} -mr $${i}.bak $${i}; done
+ }" $${i} && ${TOUCH} -mr $${i}.libtool.bak $${i}; done
@${FIND} ${WRKDIR} -type f -name ltmain.sh | \
${XARGS} ${REINPLACE_CMD} \
More information about the svn-ports-all
mailing list