NetBSD Problem Report #17955

Received: (qmail 20592 invoked by uid 605); 16 Aug 2002 10:58:48 -0000
Message-Id: <20020816105844.18B398023@iller.boquist.net>
Date: Fri, 16 Aug 2002 12:58:44 +0200 (CEST)
From: urban@boquist.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: urban@boquist.net
To: gnats-bugs@gnats.netbsd.org
Subject: pkgsrc/comms/birda installs into /usr/lib/ !
X-Send-Pr-Version: 3.95

>Number:         17955
>Category:       pkg
>Synopsis:       pkgsrc/comms/birda installs /usr/lib/libirda.a
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 10:59:00 +0000 2002
>Closed-Date:    Thu Sep 05 20:30:51 +0000 2002
>Last-Modified:  Thu Sep 05 20:30:51 +0000 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: augustss 
State-Changed-When: Thu Sep 5 13:30:29 PDT 2002 
State-Changed-Why:  
Patch applied. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.