Subject: pkg/17955: pkgsrc/comms/birda installs into /usr/lib/ !
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/16/2002 12:58:44
>Number:         17955
>Category:       pkg
>Synopsis:       pkgsrc/comms/birda installs /usr/lib/libirda.a
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 03:59:00 PDT 2002
>Originator:     Urban Boquist
>Release:        NetBSD 1.6E
Carlstedt Research & Technology AB, Sweden
System: NetBSD iller 1.6E NetBSD 1.6E (ILLER-$Revision: 1.45 $) #0: Wed Jul 31 11:54:43 CEST 2002 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
	When building comms/birda from source, the following appears:
===> do-su-install [birda-1.00] ===> Installing for birda-1.00
install ===> lib
install  -c  -r -o root -g wheel -m 444  -a "ranlib -t" libirda.a /usr/lib/libirda.a

Looking at lib/Makefile there is an empty "install:" target, so it
seems that the intention is to not install the library at all. But
somehow that override does not work. The patch below seems to fix it
for me, but I have no idea if it is the correct solution.
	cd /usr/pkgsrc/comms/birda
	make install
	ls -l /usr/lib/libirda.a
--- work/birda-1.00/lib/Makefile.orig	Fri Aug 16 12:50:26 2002
+++ work/birda-1.00/lib/Makefile	Fri Aug 16 12:51:02 2002
@@ -7,7 +7,6 @@
 NOPIC=		yes
 .include <>