diff options
author | dholland <dholland@pkgsrc.org> | 2010-06-06 03:45:17 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2010-06-06 03:45:17 +0000 |
commit | 11a928fe7628dde3b6df9871930c94b87c730912 (patch) | |
tree | c2ffda3d27c3e8806dab418a9e04e9416598ca1f /pkgtools | |
parent | a2d9c545f296f4a1ea8325ff4ba1c2911196945b (diff) | |
download | pkgsrc-11a928fe7628dde3b6df9871930c94b87c730912.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')
-rw-r--r-- | pkgtools/xpkgwedge/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/xpkgwedge/files/xpkgwedge.def | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile index 0740c89d95f..ed9dd190e47 100644 --- a/pkgtools/xpkgwedge/Makefile +++ b/pkgtools/xpkgwedge/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.78 2010/03/21 16:29:42 wiz Exp $ +# $NetBSD: Makefile,v 1.79 2010/06/06 03:45:17 dholland Exp $ -DISTNAME= xpkgwedge-1.16 +DISTNAME= xpkgwedge-1.17 CATEGORIES= pkgtools devel x11 MASTER_SITES= # empty DISTFILES= # empty 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 */ |