pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Assume that native MesaLib is built w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7c73d74a830
branches:  trunk
changeset: 602231:c7c73d74a830
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Apr 08 05:59:25 2012 +0000

description:
Assume that native MesaLib is built with dri if builin dri exists.
(required for OpenBSD-5.0).

diffstat:

 graphics/MesaLib/buildlink3.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 468d85d74d09 -r c7c73d74a830 graphics/MesaLib/buildlink3.mk
--- a/graphics/MesaLib/buildlink3.mk    Sun Apr 08 05:56:11 2012 +0000
+++ b/graphics/MesaLib/buildlink3.mk    Sun Apr 08 05:59:25 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.47 2009/03/20 19:24:36 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.48 2012/04/08 05:59:25 obache Exp $
 
 BUILDLINK_TREE+=       MesaLib
 
@@ -19,6 +19,10 @@
 pkgbase:= MesaLib
 .include "../../mk/pkg-build-options.mk"
 
+.if ${X11_TYPE} == "native" && exists(${X11BASE}/lib/pkgconfig/dri.pc)
+PKG_BUILD_OPTIONS.MesaLib+=    dri
+.endif
+
 .if !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri)
 .  include "../../graphics/MesaLib/dri.mk"
 .endif



Home | Main Index | Thread Index | Old Index