Subject: pkg/17955: pkgsrc/comms/birda installs into /usr/lib/ !
To: None <gnats-bugs@gnats.netbsd.org>
From: None <urban@boquist.net>
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
>Closed-Date:
>Last-Modified:
>Originator:     Urban Boquist
>Release:        NetBSD 1.6E
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
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
>Description:
	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.
>How-To-Repeat:
	cd /usr/pkgsrc/comms/birda
	make install
	ls -l /usr/lib/libirda.a
>Fix:
--- 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 @@
 
 NOPROFILE=	yes
 NOPIC=		yes
-
-install:
+MKLINKLIB=	no
 
 .include <bsd.lib.mk>
>Release-Note:
>Audit-Trail:
>Unformatted: