summaryrefslogtreecommitdiff
path: root/pkgtools/xpkgwedge/files
diff options
context:
space:
mode:
authordholland <dholland>2010-06-06 03:45:17 +0000
committerdholland <dholland>2010-06-06 03:45:17 +0000
commit42c47b642718c9ce551665ebfc40a42d78cb9ff2 (patch)
treec2ffda3d27c3e8806dab418a9e04e9416598ca1f /pkgtools/xpkgwedge/files
parent3e8fd299473100ba7f4892ef39fa7032a120bae1 (diff)
downloadpkgsrc-42c47b642718c9ce551665ebfc40a42d78cb9ff2.tar.gz
Force-set ManPath on Debian in order to work around silly things Debian
ships in their imake templates, which otherwise result in pkgsrc man pages landing in /usr/share/man. PR 38248 (and possibly others).
Diffstat (limited to 'pkgtools/xpkgwedge/files')
-rw-r--r--pkgtools/xpkgwedge/files/xpkgwedge.def9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/xpkgwedge/files/xpkgwedge.def b/pkgtools/xpkgwedge/files/xpkgwedge.def
index 1be76bed769..def7cc1af7b 100644
--- a/pkgtools/xpkgwedge/files/xpkgwedge.def
+++ b/pkgtools/xpkgwedge/files/xpkgwedge.def
@@ -1,4 +1,4 @@
-/* $NetBSD: xpkgwedge.def,v 1.12 2004/07/31 01:42:06 xtraeme Exp $ */
+/* $NetBSD: xpkgwedge.def,v 1.13 2010/06/06 03:45:17 dholland Exp $ */
#ifdef BeforeVendorCF
@@ -121,4 +121,11 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
#define ImakeCmd imake -I$(PREFIX)/lib/X11/config -I$(VIEWBASE)/lib/X11/config
#endif
+#ifdef __linux__
+#if LinuxDistribution == LinuxDebian
+#undef ManPath
+#define ManPath $(PREFIX)/man
+#endif /* Debian */
+#endif /* __linux__ */
+
#endif /* AfterVendorCF */