Subject: pkg/31001: www/clearsilver-base installs a library but has no file
To: None <,,>
From: Brook Milligan <>
List: pkgsrc-bugs
Date: 08/16/2005 16:05:01
>Number:         31001
>Category:       pkg
>Synopsis:       www/clearsilver-base installs a library but has no file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 16 16:05:00 +0000 2005
>Originator:     Brook Milligan
>Release:        NetBSD 2.0
Brook G. Milligan                      Internet:
Department of Biology
New Mexico State University            Telephone:  (505) 646-7980
Las Cruces, New Mexico  88003  U.S.A.  FAX:        (505) 646-5665
System: NetBSD 2.0 NetBSD 2.0 (GENERIC_LAPTOP) #0: Wed Dec 1 11:01:08 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
	The www/clearsilver-base package installs a library with
header files, yet does not have a file.  As a
consequence, other packages that depend on it cannot specify their
dependency in the "normal" manner and cannot link against the
installed library.  Currently, the other packages that do depend on it
(e.g., py23-clearsilver and ruby18-clearsilver) seem to recompile the
library.  This may be necessary for them, but it is not necessary for
other standalone packages that simply need the library.  Those should
be able to make use of a file.
	Try to create a package that must link to the library
installed by the clearsilver-base package.
Create the following file: www/clearsilver-base/  Note
that I am unsure whether or not the exact version number should be
included in ${BUILDLINK_DEPENDS.clearsilver-base} or if the wildcard
is shown below ok.  Also, this works for me with an actual package
that depends on clearsilver-base, but I am not a buildlink master.

# $NetBSD$


.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	clearsilver-base

BUILDLINK_PACKAGES+=	clearsilver-base

BUILDLINK_DEPENDS.clearsilver-base?=	clearsilver-base-* # ABI requires exactly this pattern
BUILDLINK_PKGSRCDIR.clearsilver-base?=	../../www/clearsilver-base
BUILDLINK_CPPFLAGS.clearsilver-base+=	-I${BUILDLINK_PREFIX.clearsilver-base}/include