Subject: pkg/27514: misc/proj/buildlink3.mk omits two lines, build fails
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gdt@ir.bbn.com>
List: pkgsrc-bugs
Date: 10/26/2004 13:02:34
>Number:         27514
>Category:       pkg
>Synopsis:       misc/proj/buildlink3.mk omits two lines, build fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 26 17:03: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:
Two required lines  are missing in misc/proj's buildlink3 file
>How-To-Repeat:
cd /usr/pkgsrc/wip/libgeotiff && make package

>Fix:
Adjust buildink3.mk to match the output of 'createbuildlink -3':

Index: pkgsrc/misc/proj/buildlink3.mk
===================================================================
RCS file: /NETBSD-CVS/pkgsrc/misc/proj/buildlink3.mk,v
retrieving revision 1.1
diff -u -r1.1 buildlink3.mk
--- buildlink3.mk	23 Oct 2004 08:08:26 -0000	1.1
+++ buildlink3.mk	26 Oct 2004 16:52:04 -0000
@@ -1,5 +1,8 @@
 # $NetBSD: buildlink3.mk,v 1.1 2004/10/23 08:08:26 wiz Exp $
 
+BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
+PROJ_BUILDLINK3_MK:=	${PROJ_BUILDLINK3_MK}+
+
 .if !empty(BUILDLINK_DEPTH:M+)
 BUILDLINK_DEPENDS+=	proj
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted: