summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-07 18:05:07 +0000
committerreed <reed@pkgsrc.org>2005-10-07 18:05:07 +0000
commitbb35b0ea3df91200dff417f8457a1a2f7398777a (patch)
tree79421b81b2cb11a2d6647de23137d9bc2a4a6b0e /pkgtools
parentb24e6da099a56d18a37f163e25aa5380ff12b7a5 (diff)
downloadpkgsrc-bb35b0ea3df91200dff417f8457a1a2f7398777a.tar.gz
Remove CONFIGURE_ARGS setting --mandir as this is now done for
GNU_CONFIGURE. Also add a note: This breaks for those who set their own LOCALBASE to /usr and also define PKGMANDIR to different than share/man.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index c774b326b8a..df60d9022d7 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2005/09/28 20:52:25 rillig Exp $
+# $NetBSD: Makefile,v 1.116 2005/10/07 18:05:07 reed Exp $
# Notes to package maintainers:
#
@@ -89,9 +89,10 @@ update:
PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
.if ${PREFIX} == "/usr"
+# XXX This breaks for those who set their own LOCALBASE to /usr
+# XXX and also define PKGMANDIR to different than share/man.
CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man
MANDIR= share/
.else
-CONFIGURE_ARGS+= --mandir=${PREFIX}/man
MANDIR= # empty
.endif