summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-25 01:29:01 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-25 01:29:01 +0000
commit3fa386049178c5b7535db9bffb77ef1cd3a0e361 (patch)
treeb64a97aa9dbd2f1d1f8192a324fb1001ceac942e /Mk
parentMark broken on 6.x because it is unbuildable there. (diff)
- Fix a small hole after last CONFIGURE_TARGET (actually, it's CONFIGURE_ARGS)
update: if a port version is 2.13, my magic detection treats this port using the old autoconf. To fix this, change the regex to include the prefix "autoconf" before the version number 2.13. Tested by: pointyhat 7-amd64 exp run (by pav)
Notes
Notes: svn path=/head/; revision=219124
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 3f391faf0553..1e2293d0f3bf 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2837,7 +2837,7 @@ SET_LATE_CONFIGURE_ARGS= \
if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
fi ; \
- if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} '(2\.13|Unrecognized option)'`" ]; then \
+ if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \
else \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \