Subject: pkg/23944: database/db/ fails on Debian Linux with libdb4.1-dev
To: None <>
From: Min Sik Kim <>
List: netbsd-bugs
Date: 01/01/2004 11:44:03
>Number:         23944
>Category:       pkg
>Synopsis:       database/db/ fails on Debian Linux w/ libdb4.1-dev
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 01 17:45:00 UTC 2004
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
Debian package libdb4.1-dev installs /usr/include/db.h.
database/db/ thinks incorrectly that it is a db185 header
file, and doesn't install db when it should.


RCS file: /cvsroot/pkgsrc/databases/db/,v
retrieving revision 1.8
diff -u -r1.8
---	2003/12/04 04:14:05	1.8
+++	2004/01/01 17:29:02
@@ -9,7 +9,7 @@
 .if defined(USE_DB185)
-.  if exists(/usr/include/db.h)		# NetBSD, Darwin
+.  if exists(/usr/include/db.h) && (${OPSYS}=="NetBSD" || ${OPSYS}=="Darwin")
 BUILDLINK_FILES.db=		include/db.h
 BUILDLINK_FILES.db+=		include/mpool.h
 System: NetBSD 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 i386
 Architecture: i386
 Machine: i386