Revert unapproved commit to bsd.port.mk.

This would have had more discussion, but it was explicitly rejected at submission by portmgr:

http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html
This commit is contained in:
Chris Rees 2011-10-08 18:25:01 +00:00
parent 7899c6c10f
commit 04a382563d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226162

View File

@ -14,19 +14,3 @@ _WITHOUT_SRCCONF=
.include <bsd.own.mk>
.include "${BSDPORTMK}"
.if !defined(BEFOREPORTMK) && !defined(INOPTIONSMK)
# Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x.
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\*)|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
.endif