Subject: pkg/35893: www/firefox2 missing buildlink3.mk
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: pkgsrc-bugs
Date: 03/01/2007 22:15:01
>Number: 35893
>Category: pkg
>Synopsis: www/firefox2 missing buildlink3.mk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Mar 01 22:15:00 +0000 2007
>Originator: Brian de Alwis
>Release: NetBSD 4.99.9
>Organization:
Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
"Amusement to an observing mind is study." - Benjamin Disraeli
>Environment:
System: NetBSD monolith 4.99.9 NetBSD 4.99.9 (LAPTOP.MPACPI) #1: Thu Feb 8 15:34:54 CST 2007 bsd@monolith:/usr/obj/sys/arch/i386/compile/LAPTOP.MPACPI i386
Architecture: i386
Machine: i386
pkgsrc last updates earlier this week
>Description:
www/firefox2 doesn't include a buildlink3.mk file.
This would be useful for apps trying to embed it.
>How-To-Repeat:
>Fix:
A bare-bones buildlink3.mk is appended below.
# $NetBSD$
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FIREFOX2_BUILDLINK3_MK:= ${FIREFOX2_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= firefox2
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfirefox2}
BUILDLINK_PACKAGES+= firefox2
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}firefox2
.if !empty(FIREFOX2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.firefox2+= firefox2>=2.0
BUILDLINK_ABI_DEPENDS.firefox2+= firefox2>=2.0
BUILDLINK_PKGSRCDIR.firefox2?= ../../www/firefox2
.endif # FIREFOX2_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}