NetBSD Problem Report #42290
From sdrake@xnet.co.nz Mon Nov 9 01:07:29 2009
Return-Path: <sdrake@xnet.co.nz>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 2B67A63C409
for <gnats-bugs@gnats.netbsd.org>; Mon, 9 Nov 2009 01:07:29 +0000 (UTC)
Message-Id: <alpine.LNX.2.00.0911091238470.28204@vqena.qenxr.bet.am>
Date: Mon, 9 Nov 2009 12:55:30 +1300 (NZDT)
From: Steven Drake <sdrake@xnet.co.nz>
To: gnats-bugs@gnats.netbsd.org
Subject: packages not using PKGMANDIR
>Number: 42290
>Category: pkg
>Synopsis: packages not using PKGMANDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 09 01:10:00 +0000 2009
>Closed-Date: Sat Jan 16 02:07:26 +0000 2010
>Last-Modified: Sat Jan 16 02:07:26 +0000 2010
>Originator: Steven Drake
>Release: pkgsrc-2009Q3
>Organization:
>Environment:
System: Linux idran 2.6.30 #2 PREEMPT Sun Aug 9 18:32:44 NZST 2009 i686 pentium4 i386 GNU/Linux
Architecture: pentium4
Machine: i686
C library: GNU C Library stable release version 2.10.1, by Roland McGrath et al.
>Description:
devel/cpuflags and textproc/antiword use the path ${PREFIX}/man.
>How-To-Repeat:
With PKGMANDIR=share/man
=> Generating post-install file lists
pkg_create: can't stat `/usr/pkg/share/man/man1/cpuflags.1.gz'
=> Registering installation for cpuflags-1.41
pkg_admin: cpuflags-1.41: File `/usr/pkg/share/man/man1/cpuflags.1.gz' is in +CONTENTS but not on filesystem!
=> Checking file-check results for cpuflags-1.41
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/share/man/man1/cpuflags.1.gz
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /usr/pkg/man/man1/cpuflags.1
>Fix:
Index: pkgsrc/devel/cpuflags/files/Makefile
===================================================================
--- pkgsrc.orig/devel/cpuflags/files/Makefile
+++ pkgsrc/devel/cpuflags/files/Makefile
@@ -5,7 +5,7 @@
PREFIX?=/usr/local
OPSYS?=`uname`
-MANDIR?=${PREFIX}/man/man1
+MANDIR?=${PREFIX}/${PKGMANDIR}/man1
SUBRDIR?=${PREFIX}/share/cpuflags
SHAREMKDIR?=${PREFIX}/share/mk
BINDIR?=${PREFIX}/bin
Index: pkgsrc/textproc/antiword/patches/patch-ac
===================================================================
--- /dev/null
+++ pkgsrc/textproc/antiword/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Makefile.orig 2009-09-30 18:28:08.000000000 +1300
++++ Makefile
+@@ -49,7 +49,7 @@ install: all
+ .for file in COPYING ChangeLog FAQ History Netscape QandA ReadMe
+ ${BSD_INSTALL_DATA} Docs/${file} ${DESTDIR}${PREFIX}/share/doc/antiword
+ .endfor
+- ${BSD_INSTALL_MAN} Docs/antiword.1 ${DESTDIR}${PREFIX}/man/man1/antiword.1
++ ${BSD_INSTALL_MAN} Docs/antiword.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/antiword.1
+ ${BSD_INSTALL_DATA_DIR} ${GLOBAL_RESOURCES_DIR}
+ for i in Resources/* ; do \
+ ${BSD_INSTALL_DATA} $$i ${GLOBAL_RESOURCES_DIR};\
--
Steven
>Release-Note:
>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42290 CVS commit: pkgsrc/textproc/antiword
Date: Thu, 12 Nov 2009 05:03:47 +0000
Module Name: pkgsrc
Committed By: obache
Date: Thu Nov 12 05:03:47 UTC 2009
Modified Files:
pkgsrc/textproc/antiword: distinfo
pkgsrc/textproc/antiword/patches: patch-aa
Log Message:
honor PKGMANDIR, PR 42290.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/antiword/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/antiword/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42290 CVS commit: pkgsrc/devel/cpuflags
Date: Thu, 12 Nov 2009 05:38:58 +0000
Module Name: pkgsrc
Committed By: obache
Date: Thu Nov 12 05:38:58 UTC 2009
Modified Files:
pkgsrc/devel/cpuflags: Makefile
Log Message:
Some fixes
* Fixes permissions of installed files.
* honor PKGMANDIR, as PR 42290.
To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 pkgsrc/devel/cpuflags/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->pending-pullups
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 12 Nov 2009 05:41:44 +0000
State-Changed-Why:
fixed in pkgsrc-current.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 16 Jan 2010 02:07:26 +0000
State-Changed-Why:
2009Q4 is out, pullups now moot.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.