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.
This commit is contained in:
tnn 2008-02-09 13:58:46 +00:00
parent cd0e57def1
commit 938185d649

View file

@ -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}