tech-pkg archive

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

Re: fixing x11-links

On Mon, Jun 03, 2013 at 02:52:20AM +0000, David Holland wrote:
 > Ok, because of the problem I mentioned on the other thread, cairo no
 > longer builds on netbsd-5.

This patch fixes it.

I'm of two minds about this: on the one hand, it's expedient, it
works, and similar patches in other bl3 files will solve many of the
other build problems with netbsd-5 native X.

On the other hand, x11-links really needs to be tidied, and this does
nothing to improve that situation.


Index: x11/libdrm/
RCS file: /cvsroot/pkgsrc/x11/libdrm/,v
retrieving revision 1.7
diff -u -r1.7
--- x11/libdrm/    16 May 2013 05:43:14 -0000      1.7
+++ x11/libdrm/    3 Jun 2013 03:45:57 -0000
@@ -5,7 +5,12 @@
 .if !defined(LIBDRM_BUILDLINK3_MK)
+.if ${X11_TYPE} == "native"
+BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.3
 BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.15
 BUILDLINK_PKGSRCDIR.libdrm?=   ../../x11/libdrm
 BUILDLINK_INCDIRS.libdrm?=     include/libdrm

David A. Holland

Home | Main Index | Thread Index | Old Index