From d4263858ba3f1a889ec140c6cea659103a674bed Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 9 Feb 2008 13:58:46 +0000 Subject: A nasty side effect of using TOOLS_SED here is that perl will try to outsmart us and call the tool by name in some parts of the build. eg just "nbsed" instead of "/usr/pkg/bin/nbsed". This can only have worked before as long as ${PREFIX}/bin was in the user's path. Fix this by TOOLS_ALIASES.sed+=${TOOLS_SED:T} so that an "nbsed" is available in the PATH. --- lang/perl5/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 4947486408c..5571cf2743e 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.134 2008/01/08 16:43:31 apb Exp $ +# $NetBSD: Makefile,v 1.135 2008/02/09 13:58:46 tnn Exp $ DISTNAME= perl-5.8.8 PKGREVISION= 7 @@ -153,6 +153,7 @@ USE_TOOLS+= hostname ln sed test CONFIGURE_ARGS+= -Daphostname=${TOOLS_HOSTNAME_CMD:Q} CONFIGURE_ARGS+= -Dln=${TOOLS_LN:Q} CONFIGURE_ARGS+= -Dsed=${TOOLS_SED:Q} +TOOLS_ALIASES.sed+= ${TOOLS_SED:T} CONFIGURE_ARGS+= -Dsh=${TOOLS_SH:Q} CONFIGURE_ARGS+= -Dissymlink="${TOOLS_TEST} -h" CONFIGURE_ARGS+= -Dperl5=${FALSE} -- cgit v1.2.3