summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-26 03:12:14 +0000
committerjlam <jlam@pkgsrc.org>2001-09-26 03:12:14 +0000
commitc537c54dcfc0de6525b6f431d0138026cf438f11 (patch)
tree48c9e46e63533cb997b631fdc8f8ea0f6f49db79 /lang
parent962986af46cd0f5c04fc3fc14f238c5843fe5851 (diff)
downloadpkgsrc-c537c54dcfc0de6525b6f431d0138026cf438f11.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}"