aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2012-01-22 15:41:33 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2012-01-22 15:41:33 +0000
commit688fdbc2d0c32fa3e3bd975e8f52ddcce7355879 (patch)
tree4d2152f7dbe245a69707d2dfe47661dfe4b9db4f /Mk/bsd.port.mk
parent53047632e2b93c449399d4f60bceab046954c270 (diff)
downloadports-688fdbc2d0c32fa3e3bd975e8f52ddcce7355879.tar.gz
ports-688fdbc2d0c32fa3e3bd975e8f52ddcce7355879.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 241cf589fa19..53d60444ec33 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3654,7 +3654,7 @@ do-patch:
run-autotools-fixup:
# Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x.
.if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX)
- -@for f in `${FIND} ${WRKSRC} -type f \( -name config.libpath -o \
+ -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \
-name config.rpath -o -name configure -o -name libtool.m4 -o \
-name ltconfig -o -name libtool -o -name aclocal.m4 -o \
-name acinclude.m4 \)` ; do \
@@ -3666,6 +3666,8 @@ run-autotools-fixup:
-e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
$${f} ; \
${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \
+ ${RM} -f $${f}.fbsd10bak ; \
+ ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \
done
.endif
.endif