Subject: pkg/29246: x11/py-Xlib's buildlink3.mk updated
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ccatrian@eml.cc>
List: pkgsrc-bugs
Date: 02/05/2005 15:14:00
>Number:         29246
>Category:       pkg
>Synopsis:       x11/py-Xlib's buildlink3.mk updated
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 05 15:14:00 +0000 2005
>Originator:     Cesar Catrian C.
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD core.cjc.cl 2.0 NetBSD 2.0 (SAT) #1: Mon Dec 13 20:02:48 CLST 2004 cetrox@core.cjc.cl:/home/cetrox/src/src/sys/arch/i386/compile/obj/SAT i386
Architecture: i386
Machine: i386
>Description:
	Please review and commit the patch to x11/py-Xlib/buildlink3.mk .
>How-To-Repeat:
	
>Fix:
--- buildlink3.mk.orig  2005-02-05 11:19:08.000000000 -0300
+++ buildlink3.mk       2005-02-05 11:56:08.000000000 -0300
@@ -1,18 +1,20 @@
 # $NetBSD: buildlink3.mk,v 1.2 2004/08/17 15:34:23 minskim Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
-PY23PTH_XLIB_BUILDLINK3_MK:=   ${PY23PTH_XLIB_BUILDLINK3_MK}+
+PYXLIB_BUILDLINK3_MK:= ${PYXLIB_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
 
 .if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+=    py23pth-Xlib
+BUILDLINK_DEPENDS+=    pyXlib
 .endif

-BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npy23pth-Xlib}
-BUILDLINK_PACKAGES+=   py23pth-Xlib
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:NpyXlib}
+BUILDLINK_PACKAGES+=   pyXlib

-.if !empty(PY23PTH_XLIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.py23pth-Xlib+=       py23pth-Xlib>=0.12
-BUILDLINK_PKGSRCDIR.py23pth-Xlib?=     ../../x11/py-Xlib
-.endif # PY23PTH_XLIB_BUILDLINK3_MK
+.if !empty(PYXLIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pyXlib+=     ${PYPKGPREFIX}-Xlib>=0.12
+BUILDLINK_PKGSRCDIR.pyXlib?=   ../../x11/py-Xlib
+.endif # PYXLIB_BUILDLINK3_MK
 
 BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}

>Unformatted: