pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl58 Perl embeds the full paths to hostname, ln...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56aebf44bb12
branches:  trunk
changeset: 495499:56aebf44bb12
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jun 11 21:57:11 2005 +0000

description:
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:

 lang/perl58/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1418a534cb90 -r 56aebf44bb12 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Sat Jun 11 17:18:52 2005 +0000
+++ b/lang/perl58/Makefile      Sat Jun 11 21:57:11 2005 +0000
@@ -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 @@
 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.



Home | Main Index | Thread Index | Old Index