pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xorgproto xorgproto: Force consistent man page ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d6b9b838a4a
branches:  trunk
changeset: 405097:2d6b9b838a4a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 23 11:41:20 2019 +0000

description:
xorgproto: Force consistent man page installation for SunOS/etc

It appears to attempt to detect whether the system uses "Sys-V"-style
man categories by checking for a specific file in /usr/share/man.

This doesn't seem to be particularly accurate and causes problems with
varying PLISTs on pkgsrc depending on the system's filesystem layout.

So just force a consistent category number for "misc" pages for every OS,
for now...

diffstat:

 x11/xorgproto/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 67c259be9376 -r 2d6b9b838a4a x11/xorgproto/Makefile
--- a/x11/xorgproto/Makefile    Sat Nov 23 10:31:37 2019 +0000
+++ b/x11/xorgproto/Makefile    Sat Nov 23 11:41:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2019/11/15 10:01:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.10 2019/11/23 11:41:20 nia Exp $
 
 DISTNAME=              xorgproto-2019.2
 PKGREVISION=           2
@@ -17,6 +17,9 @@
 # some packages need the old headers
 CONFIGURE_ARGS+=       --enable-legacy
 
+# Force a consistent PLIST.
+CONFIGURE_ENV+=                MISC_MAN_SUFFIX="7"
+
 PKGCONFIG_OVERRIDE+=   applewmproto.pc.in
 PKGCONFIG_OVERRIDE+=   bigreqsproto.pc.in
 PKGCONFIG_OVERRIDE+=   compositeproto.pc.in



Home | Main Index | Thread Index | Old Index