Subject: pkg/21490: databases/openldap/ erroneously brings in pthreads
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/07/2003 11:53:35
>Number:         21490
>Category:       pkg
>Synopsis:       databases/openldap/ erroneously brings in pthreads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 07 15:58:00 UTC 2003
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1
	DUH.ORG:  Pointing out the obvious since 1994.

In databases/openldap/

.include "../../mk/"

This is wrong.  pthreads is only used by openldap to build slurpd, and
most dependencies on openldap don't give a damn about pthreads.  (Do a
"ldd /usr/pkg/lib/" if you don't believe me.)  Packages that
need both pthreads and openldap should be including both of their
buildlink2 files explicitly.


RCS file: /pub/NetBSD-CVS/pkgsrc/databases/openldap/,v
retrieving revision 1.4
diff -u -r1.4
---	2003/05/02 11:54:13	1.4
+++	2003/05/07 15:50:28
@@ -30,8 +30,6 @@
 .  include "../../security/cyrus-sasl/"
-.include "../../mk/"
 BUILDLINK_TARGETS+=	openldap-buildlink
 openldap-buildlink: _BUILDLINK_USE