mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 08:44:33 +00:00
- Add a couple of more sed subsitutions needed to get the correct
libtool.m4. With these fixes libtool will correctly indentify the system as ELF (and not a.out). - While here, change the substitutions so they're still correctly match freebsd1.x, freebsd2.x etc.
This commit is contained in:
parent
50fb449799
commit
2872f05432
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226124
|
@ -20,8 +20,12 @@ _WITHOUT_SRCCONF=
|
|||
run-autotools-fixup:
|
||||
test -d ${WRKSRC} && find ${WRKSRC} -type f \( -name config.libpath -o \
|
||||
-name config.rpath -o -name configure -o -name libtool.m4 \) \
|
||||
-exec sed -i '' -e 's/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/' \
|
||||
-e 's/freebsd\[123\]\*)/SHOULDNOTMATCHANYTHING2)/' {} + || /usr/bin/true
|
||||
-exec sed -i '' -e 's|freebsd1\*)|freebsd1.\*)|g' \
|
||||
-e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \
|
||||
-e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
|
||||
-e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
|
||||
-e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
|
||||
{} + || /usr/bin/true
|
||||
|
||||
.ORDER: run-autotools run-autotools-fixup do-configure
|
||||
do-configure: run-autotools-fixup
|
||||
|
|
Loading…
Reference in a new issue