summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam>2001-09-26 03:12:14 +0000
committerjlam <jlam>2001-09-26 03:12:14 +0000
commitd55a5d6a129a6e1aec1c3ef0704ea525a5fcec30 (patch)
tree48c9e46e63533cb997b631fdc8f8ea0f6f49db79 /lang/perl5
parenta1556a61796eb1d01a4c85123cd1355f88fd5fe1 (diff)
downloadpkgsrc-d55a5d6a129a6e1aec1c3ef0704ea525a5fcec30.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/perl5')
-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}"