pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38248 (graphics/xv manpages install into /usr/share/man rather than $PKGMANDIR)
The following reply was made to PR pkg/38248; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38248 (graphics/xv manpages install into /usr/share/man
rather than $PKGMANDIR)
Date: Mon, 31 May 2010 22:20:08 +0000
On Sun, Apr 06, 2008 at 07:50:03AM +0000, Yair K. wrote:
> I suspect the cause is that Imake catches one of the .cf files which is
> installed by Debian in /usr/lib/X11/config .
> linux.cf contains: "# define ManDirectoryRoot /usr/share/man"
> imake.tmpl contains: "#define ManPath ManDirectoryRoot"
> and the line: "MANPATH = ManPath /* top of manual page tree */"
I can replicate this with Debian 5; it's caused by silly things in
their imake templates and fixed by the following patch to xpkgwedge.
This is something of a blunt hammer but I think it's the right thing
to do -- anyone else care to comment?
Index: files/xpkgwedge.def
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/xpkgwedge/files/xpkgwedge.def,v
retrieving revision 1.12
diff -p -r1.12 xpkgwedge.def
*** files/xpkgwedge.def 31 Jul 2004 01:42:06 -0000 1.12
--- files/xpkgwedge.def 31 May 2010 22:17:09 -0000
*************** InstallNamedTargetNoClobber(install,file
*** 121,124 ****
--- 121,131 ----
#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 */
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index