summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-11 21:57:11 +0000
committerjlam <jlam@pkgsrc.org>2005-06-11 21:57:11 +0000
commit9877fbb264884bc8db42f41e33c59a63dc5602af (patch)
tree2983f49e240bae11ca21bb77c58d348a8bc6b68b /lang
parentaf82255ee93378babcbe132180b90f4f81e27653 (diff)
downloadpkgsrc-9877fbb264884bc8db42f41e33c59a63dc5602af.tar.gz
Perl embeds the full paths to hostname, ln, and sed in several installed
files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl58/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index d498b5e6b90..650c78abe91 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2005/05/31 22:47:56 rillig Exp $
+# $NetBSD: Makefile,v 1.84 2005/06/11 21:57:11 jlam Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -92,6 +92,14 @@ CONFIGURE_ARGS+= -Dsiteman1dir="${VIEWBASE}/man/man1"
USE_TOOLS+= gmake
.endif
+# Perl embeds the full paths to the following tools in several installed
+# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
+#
+USE_TOOLS+= hostname ln sed
+CONFIGURE_ARGS+= -Daphostname=${TOOLS_HOSTNAME_CMD:Q}
+CONFIGURE_ARGS+= -Dln=${TOOLS_LN:Q}
+CONFIGURE_ARGS+= -Dsed=${TOOLS_SED:Q}
+
# Nail down the needed libraries for each platform here to avoid hidden
# dependencies. If this isn't defined, then use the perl defaults for the
# particular operating system.