NetBSD Problem Report #10340

Received: (qmail 2117 invoked from network); 11 Jun 2000 12:11:07 -0000
Message-Id: <E1316a3-0004NX-00@quartz.newn.cam.ac.uk>
Date: Sun, 11 Jun 2000 13:11:07 +0100
From: prlw1@cam.ac.uk
Sender: "Patrick Welche,SCC,ext.35710," <prlw1@newn.cam.ac.uk>
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@gnats.netbsd.org
Subject: global doesn't need libdb
X-Send-Pr-Version: 3.95

>Number:         10340
>Category:       pkg
>Synopsis:       global doesn't need libdb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 11 12:12:00 +0000 2000
>Closed-Date:    Sat Sep 09 14:59:47 +0000 2000
>Last-Modified:  Sat Sep 09 14:59:47 +0000 2000
>Originator:     Patrick Welche
>Release:        11 June 2000
>Organization:

>Environment:
NetBSD-1.4Z/i386
>Description:
I just happened to notice the comment at the end of the INSTALL file:

If your system is *BSD then you have db(3) and regex(3) in libc.
So you need not make libdb/ and libregex/.
>How-To-Repeat:
This isn't a problem as such!
>Fix:
So, as per the INSTALL file patch-ad could be replaced by:

--- Makefile.inc.orig	Sun Jun 11 12:38:31 2000
+++ Makefile.inc	Sun Jun 11 12:39:22 2000
@@ -2,14 +2,11 @@

 GLOBAL_MAKEFILE_INC_BEEN_HERE=yes
 BINDIR?=	/usr/bin
-LDDESTDIR=	-L${.OBJDIR}/../libutil \
-		-L${.OBJDIR}/../libdb
-LDADD=		-lgloutil -lglodb
-DPADD=		${.OBJDIR}/../libutil/libgloutil.a \
-		${.OBJDIR}/../libdb/libglodb.a
-CFLAGS+=	-I${.CURDIR} \
+LDFLAGS+=	-L${.OBJDIR}/../libutil
+LDADD=		-lgloutil
+DPADD=		${.OBJDIR}/../libutil/libgloutil.a
+CPPFLAGS+=	-I${.CURDIR} \
 		-I${.CURDIR}/../libutil \
-		-I${.CURDIR}/../libdb \
 		-I${.CURDIR}/../machine \
 		-O
 #		-Wall -Wwrite-strings -Wmissing-prototypes

and another patch added:

--- Makefile.orig	Sun Jun 11 12:39:35 2000
+++ Makefile	Sun Jun 11 12:36:48 2000
@@ -1,3 +1,3 @@
-SUBDIR= libdb libutil global gtags gctags btreeop htags
+SUBDIR= libutil global gtags gctags btreeop htags

 .include <bsd.subdir.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Sat Sep 9 07:59:08 PDT 2000 
State-Changed-Why:  
I changed the patches as you suggested. Thanks for the PR! 
>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.