aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-12-06 06:43:22 +0800
committeralane <alane@FreeBSD.org>2002-12-06 06:43:22 +0800
commitaadf8cbcf678eb6f5af72c7ee7f716e867a8eaa8 (patch)
tree996fe6f039243534db2b045e0b13b9f2042a8e6e /Mk
parentc7a442e26989aa843fca9ab56f47355d9d1dfed3 (diff)
downloadfreebsd-ports-gnome-aadf8cbcf678eb6f5af72c7ee7f716e867a8eaa8.tar.gz
freebsd-ports-gnome-aadf8cbcf678eb6f5af72c7ee7f716e867a8eaa8.tar.zst
freebsd-ports-gnome-aadf8cbcf678eb6f5af72c7ee7f716e867a8eaa8.zip
Use the full, right paths for automake, autoconf so the error message if
something goes wrong corresponds correctly to what the build depends output said it needed. Approved by: kris
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7e85fdeed06e..2b9cfd3d29ce 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -982,13 +982,13 @@ use_amver= ${WANT_AUTOMAKE_VER:L}
.if ${use_amver} == ${cur_amver}
ACLOCAL_DIR= ${LOCALBASE}/share/aclocal
AUTOMAKE_DIR= ${LOCALBASE}/share/automake
-BUILD_DEPENDS+= automake:${PORTSDIR}/devel/automake
+BUILD_DEPENDS+= ${LOCALBASE}/bin/automake:${PORTSDIR}/devel/automake
WANT_AUTOCONF_VER?= ${cur_acver}
.elif ${use_amver} == ${old_amver} || ${use_amver} == ${dev_amver}
ACLOCAL_DIR= ${LOCALBASE}/share/aclocal${use_amver}
AUTOMAKE_DIR= ${LOCALBASE}/share/automake${use_amver}
-BUILD_DEPENDS+= automake${use_amver}:${PORTSDIR}/devel/automake${use_amver}
ampath= ${LOCALBASE}/libexec/automake${use_amver}:
+BUILD_DEPENDS+= ${ampath:S/://}/automake:${PORTSDIR}/devel/automake${use_amver}
.if ${use_amver} == ${old_amver}
AUTOMAKE_ARGS+= -i
WANT_AUTOCONF_VER?=${old_acver}
@@ -1013,11 +1013,11 @@ GNU_CONFIGURE?= yes
use_acver= ${WANT_AUTOCONF_VER:L}
.if ${use_acver} == ${cur_acver}
AUTOCONF_DIR= ${LOCALBASE}/share/autoconf
-BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:${PORTSDIR}/devel/autoconf
.elif ${use_acver} == ${old_acver} || ${use_acver} == ${dev_acver}
AUTOCONF_DIR= ${LOCALBASE}/share/autoconf${use_acver}
-BUILD_DEPENDS+= autoconf${use_acver}:${PORTSDIR}/devel/autoconf${use_acver}
acpath= ${LOCALBASE}/libexec/autoconf${use_acver}
+BUILD_DEPENDS+= ${acpath}/autoconf:${PORTSDIR}/devel/autoconf${use_acver}
.else # bad autoconf version
BROKEN="unknown AUTOCONF version: ${USE_AUTOCONF_VER}"
.endif # ${use_acver} == ${cur_acver}