Subject: pkg/27364: misc/proj lacks a buildlink3 file, so other packages can't use it
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gdt@ir.bbn.com>
List: pkgsrc-bugs
Date: 10/22/2004 19:52:20
>Number:         27364
>Category:       pkg
>Synopsis:       misc/proj lacks a buildlink3 file, so other packages can't use it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 23:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Greg Troxel
>Release:        NetBSD 2.0_RC4
>Organization:
        Greg Troxel <gdt@ir.bbn.com>
>Environment:
	
	
System: NetBSD fnord.ir.bbn.com 2.0_RC4 NetBSD 2.0_RC4 (SINEW) #33: Wed Oct 20 08:09:03 EDT 2004 root@poblano.ir.bbn.com:/n0/obj/sinew/gdt/i386/sys/arch/i386/compile/SINEW i386
Architecture: i386
Machine: i386
>Description:
misc/proj installs a shared library and header files, but
lacks a buildlink3 file.   libgeotiff depends on proj.
>How-To-Repeat:
Try to make a libgeotiff package in pkgsrc-wip.
>Fix:
Commit the following buildlink3 file, with which I was able to build
libgeotiff.  This was largely generated by 'createbuildlink -3'.

# $NetBSD$

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
PROJ_BUILDLINK3_MK:=	${PROJ_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	proj
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nproj}
BUILDLINK_PACKAGES+=	proj

.if !empty(PROJ_BUILDLINK3_MK:M+)
# say 4.4.5 to avoid gratuitous upgrades
BUILDLINK_DEPENDS.proj+=	proj>=4.4.5
BUILDLINK_PKGSRCDIR.proj?=	../../misc/proj
.endif	# PROJ_BUILDLINK3_MK

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
>Release-Note:
>Audit-Trail:
>Unformatted: