pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 A nasty side effect of using TOOLS_SED here...
details: https://anonhg.NetBSD.org/pkgsrc/rev/06b7b1196de6
branches: trunk
changeset: 538475:06b7b1196de6
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Feb 09 13:58:46 2008 +0000
description:
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:
lang/perl5/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6f9796eca4be -r 06b7b1196de6 lang/perl5/Makefile
--- a/lang/perl5/Makefile Sat Feb 09 13:11:07 2008 +0000
+++ b/lang/perl5/Makefile Sat Feb 09 13:58:46 2008 +0000
@@ -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 @@
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}
Home |
Main Index |
Thread Index |
Old Index