summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortnn <tnn>2008-02-09 13:58:46 +0000
committertnn <tnn>2008-02-09 13:58:46 +0000
commitd4263858ba3f1a889ec140c6cea659103a674bed (patch)
tree68e9aaa64f4ede17b73e26a61a9e17fac52136b0 /lang
parentabc562710fac3ba8aab0b8c350aa648aa16c0049 (diff)
downloadpkgsrc-d4263858ba3f1a889ec140c6cea659103a674bed.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')
-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}