Subject: pkg/34134: benchmarks/ttcp package ignores MANINSTALL= in /etc/mk.conf
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 08/03/2006 12:20:01
>Number:         34134
>Category:       pkg
>Synopsis:       benchmarks/ttcp package ignores MANINSTALL= in /etc/mk.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 03 12:20:01 +0000 2006
>Release:        NetBSD 2.1.0_STABLE, pkgsrc-2006Q2
>Organization: is bsh's home site
System: NetBSD 061kihada 2.1.0_STABLE NetBSD 2.1.0_STABLE (GENERIC.MP) #0: Tue Nov 22 16:27:12 JST 2005 root@061kihada.genetec.local:/u0/tmp/src/sys/arch/i386/compile/obj.i386/GENERIC.MP i386
Architecture: i386
Machine: i386
	benchmarks/ttcp package always installs /usr/pkg/man/{man1/ttcp.1,cat1/ttcp.0} even
if the user set MANINSTALL in /etc/mk.conf.  If you set CHECK_FILES=yes, an error is reported.

===> Installing for ttcp-1.12nb2
=> Generating pre-install file lists
=> Creating installation directories
#   install  /usr/pkg/bin/ttcp
install  -c  -r -o root -g wheel -m 555    ttcp /usr/pkg/bin/ttcp
#   install  /usr/pkg/man/man1/ttcp.1
install  -c  -r -o root -g wheel -m 444   ttcp.1 /usr/pkg/man/man1/ttcp.1
#   install  /usr/pkg/man/cat1/ttcp.0
install  -c  -r -o root -g wheel -m 444   ttcp.cat1 /usr/pkg/man/cat1/ttcp.0
=> Automatic manual page handling
=> Generating post-install file lists
=> Registering installation for ttcp-1.12nb2
=> Checking for missing run-time search paths in ttcp-1.12nb2
=> Checking for work-directory references in ttcp-1.12nb2
=> Checking file-check results for ttcp-1.12nb2
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/man/cat1/ttcp.0
*** Error code 1

	to /etc/mk.conf.  
	cd /usr/pkgsrc/benchmarks/ttcp; make install
	Don't override MANINSTALL in Makefile

--- patch-aa.orig	2006-08-03 18:50:37.000000000 +0900
+++ patch-aa	2006-08-03 18:50:44.000000000 +0900
@@ -9,8 +9,6 @@
-+MANINSTALL=	maninstall catinstall
 +.if ${OPSYS} == "Linux"