summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2001-09-26 03:12:14 +0000
committerjlam <jlam>2001-09-26 03:12:14 +0000
commit82d1ba55598e83cb7e3f523aae9648a008372b01 (patch)
tree48c9e46e63533cb997b631fdc8f8ea0f6f49db79 /lang
parent1ed4705ada6069e04a2d26ab177be3ee6b9bdb02 (diff)
downloadpkgsrc-82d1ba55598e83cb7e3f523aae9648a008372b01.tar.gz
The perl Configure script has a check for several directories, including
/usr/local/scripts and forces the scripts to be installed there if it exists. We override this by explicitly setting "scriptdir" to "${PREFIX}/bin". This should fix the problem noted in pkg/14050 by Brian Stark <bpstark@pacbell.net>.
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 080223e12ac..eebed25d342 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2001/09/17 18:11:36 jlam Exp $
+# $NetBSD: Makefile,v 1.45 2001/09/26 03:12:14 jlam Exp $
.include "../../lang/perl5/Makefile.common"
@@ -20,6 +20,7 @@ HAS_CONFIGURE= # defined
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
CONFIGURE_ARGS+= -Dprefix="${PREFIX}"
+CONFIGURE_ARGS+= -Dscriptdir="${PREFIX}/bin"
CONFIGURE_ARGS+= -Darchname="${MACHINE_ARCH}-${LOWER_OPSYS}"
CONFIGURE_ARGS+= -Doptimize="${CFLAGS}"
CONFIGURE_ARGS+= -Dcc="${CC}"