summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-02-09 13:58:46 +0000
committertnn <tnn@pkgsrc.org>2008-02-09 13:58:46 +0000
commit938185d6499e092308102424493ebcb3f26ad0fa (patch)
tree68e9aaa64f4ede17b73e26a61a9e17fac52136b0 /lang/perl5
parentcd0e57def13ab5307cfa3608d24cb14598240ca4 (diff)
downloadpkgsrc-938185d6499e092308102424493ebcb3f26ad0fa.tar.gz
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.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile3
1 files changed, 2 insertions, 1 deletions
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}