Subject: pkg/24081: devel/zlib doesn't create a manpage directory
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/13/2004 11:34:34
>Number:         24081
>Category:       pkg
>Synopsis:       devel/zlib doesn't create a man page directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 13 17:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
>Description:
devel/zlib installs a man page without creating a directory for it,
resulting in an error when installed as pkgviews.

>How-To-Repeat:
>Fix:

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/zlib/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	2004/01/12 21:19:50	1.5
+++ distinfo	2004/01/13 17:26:58
@@ -2,4 +2,4 @@
 
 SHA1 (zlib-1.2.1.tar.gz) = a3d51efc98b87b9ebd1a528d726007b0cb08a612
 Size (zlib-1.2.1.tar.gz) = 345833 bytes
-SHA1 (patch-aa) = 97a1756fdcb844d1621d9c12b72b55e9536be34e
+SHA1 (patch-aa) = 1f545e688cf677fd7d2da28f475b4e0c3238baf0
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/zlib/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- patches/patch-aa	2004/01/12 21:19:50	1.4
+++ patches/patch-aa	2004/01/13 17:26:58
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2004/01/12 21:19:50 adam Exp $
+$NetBSD$
 
---- Makefile.in.orig	2003-11-09 02:29:23.000000000 +0000
+--- Makefile.in.orig	2003-11-09 11:29:23.000000000 +0900
 +++ Makefile.in
 @@ -16,9 +16,7 @@
  # To install in $HOME instead of /usr/local, use:
@@ -37,12 +37,13 @@
  
  example$(EXE): example.o $(LIBS)
  	$(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS)
-@@ -90,6 +87,11 @@ minigzip$(EXE): minigzip.o $(LIBS)
+@@ -90,6 +87,12 @@ minigzip$(EXE): minigzip.o $(LIBS)
  	$(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS)
  
  install: $(LIBS)
 +	${BSD_INSTALL_DATA} zconf.h zlib.h ${PREFIX}/include
-+	${BSD_INSTALL_DATA} zlib.3 ${PREFIX}/man/man3
++	${BSD_INSTALL_MAN_DIR} ${PREFIX}/man/man3
++	${BSD_INSTALL_MAN} zlib.3 ${PREFIX}/man/man3
 +	${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libz.la ${PREFIX}/lib
 +
 +installold: $(LIBS)
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #2: Thu Jan 8 13:41:59 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386