tech-pkg archive

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

Re: fixing x11-links



On Mon, 03 Jun 2013 20:32:19 +0900, David Holland 
<dholland-pkgtech%netbsd.org@localhost> wrote:

On Mon, Jun 03, 2013 at 03:00:19PM +0900, OBATA Akio wrote:
 > Following might be sufficient for you:
 >
 > Index: buildlink3.mk
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/graphics/MesaLib/buildlink3.mk,v
 > retrieving revision 1.51
 > diff -u -r1.51 buildlink3.mk
 > --- buildlink3.mk       16 May 2013 05:22:02 -0000      1.51
 > +++ buildlink3.mk       3 Jun 2013 05:58:11 -0000
 > @@ -19,7 +19,7 @@
 >  pkgbase:= MesaLib
 >  .include "../../mk/pkg-build-options.mk"
 >
 > -.if ${X11_TYPE} == "native" && ${OPSYS} != "Cygwin" && 
exists(${X11BASE}/lib/pkgconfig/dri.pc)
 > +.if ${X11_TYPE} == "native" && ${OPSYS} != "Cygwin" && ${OPSYS} != "NetBSD" 
&& exists(${X11BASE}/lib/pkgconfig/dri.pc)
 >  PKG_BUILD_OPTIONS.MesaLib+=    dri
 >  .endif

It might, but I don't consider it satisfactory. The only thing getting
in the way of building cairo with dri/drm support is x11-links.

But it was not required for NetBSD, just added for OpenBSD (and not broken on 
NetBSD back then),
then I found it was broken with Cygwin, it's the current situation.
Making exception on NetBSD is just back to original situation for NetBSD.

Please refer commit log of pkgsrc/x11/libdrm/buildlink3.mk rev1.16.
If you really want to Reduce mimimal requirement of libdrm from 2.4.15,
you also do recursive bump from there, because packages depending on
libdrm will be changed to use builtin one instead of pksrc one.

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


Home | Main Index | Thread Index | Old Index