summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-05 20:45:13 +0000
committerjlam <jlam@pkgsrc.org>2004-01-05 20:45:13 +0000
commit41fbbe893ea896461863ae0360a77cdcbb6e0a77 (patch)
treef26f074bb4694dd428d6df32526c908b7527aff5 /lang/perl58
parent02eb6f1e19be0444ab3f2119ff5ee6ad3fa6777e (diff)
downloadpkgsrc-41fbbe893ea896461863ae0360a77cdcbb6e0a77.tar.gz
Comment on why we set man1dir.
Diffstat (limited to 'lang/perl58')
-rw-r--r--lang/perl58/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 0a070675360..fbb0e4dd600 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/01/05 10:46:52 grant Exp $
+# $NetBSD: Makefile,v 1.23 2004/01/05 20:45:13 jlam Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -39,7 +39,9 @@ CONFLICTS= perl-5.00* perl-base-[0-9]* \
p5-Devel-DProf-[0-9]* p5-Devel-Peek-[0-9]* \
perl-mk-[0-9]*
-USE_BUILDLINK2= YES
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
@@ -63,9 +65,14 @@ CONFIGURE_ARGS+= -Dman3ext="3"
CONFIGURE_ARGS+= -Dman3dir="${PERL5_PRIVLIB}/man/man3"
CONFIGURE_ARGS+= -Dsiteman3dir="${PERL5_SITEPERL}/man/man3"
+# Ensure that the Perl man1 pages go into ${PREFIX}/man/man1 and not
+# into some other platform-specific location kindly "guessed" by the
+# Configure script.
+#
+CONFIGURE_ARGS+= -Dman1dir="${PREFIX}/man/man1"
+
# The site directories are all relative to the perl view.
CONFIGURE_ARGS+= -Dsiteprefix="${VIEWBASE}"
-CONFIGURE_ARGS+= -Dman1dir="${PREFIX}/man/man1"
CONFIGURE_ARGS+= -Dsiteman1dir="${VIEWBASE}/man/man1"
.include "../../mk/bsd.prefs.mk"