pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem with x11/renderproto?



I feel following patch should fixes both native XFree86 and Xorg for NetBSD,
check same as libXrender.
I'm not sure that upper bounce guard 0.10 is sufficient for Xfree86,
but it is required.

Index: x11/renderproto/buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/renderproto/buildlink3.mk,v
retrieving revision 1.14
diff -u -r1.14 buildlink3.mk
--- x11/renderproto/buildlink3.mk       22 Dec 2010 23:41:30 -0000      1.14
+++ x11/renderproto/buildlink3.mk       1 Jan 2011 06:06:37 -0000
@@ -7,15 +7,8 @@
 .if !defined(RENDERPROTO_BUILDLINK3_MK)
 RENDERPROTO_BUILDLINK3_MK:=

-.if ${X11_TYPE} == "native"
-. include "../../mk/x11.buildlink3.mk"
-. if ${BUILTIN_X11_TYPE.native} == "XFree86"
-RENDERPROTO_RENDERPROTO9=1
-. endif
-.endif
-
-.if defined(RENDERPROTO_RENDERPROTO9)
-BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1
+.if ${X11_TYPE} != "modular" && 
!exists(${X11BASE}/lib/pkgconfig/renderproto.pc)
+BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1<0.10
 BUILDLINK_PKGSRCDIR.renderproto?=      ../../x11/renderproto9
 .else
 BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index