diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-11 21:57:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-11 21:57:11 +0000 |
commit | 37c24b2616c13343e818f3dcb9a08043cf96b3e8 (patch) | |
tree | 2983f49e240bae11ca21bb77c58d348a8bc6b68b /lang | |
parent | 6f78c7b585a1b8dc6e4e16f528e935f146180baa (diff) | |
download | pkgsrc-37c24b2616c13343e818f3dcb9a08043cf96b3e8.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/Makefile | 10 |
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. |