summaryrefslogtreecommitdiff
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
commit7b381b580e3be07b2579c056694f5b279bd64134 (patch)
treef26f074bb4694dd428d6df32526c908b7527aff5
parent88614d7e375409eea83c92efacd1ddba52d2f5ab (diff)
downloadpkgsrc-7b381b580e3be07b2579c056694f5b279bd64134.tar.gz
Comment on why we set man1dir.
-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"