diff options
author | obache <obache@pkgsrc.org> | 2012-04-08 05:59:25 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-04-08 05:59:25 +0000 |
commit | 66a022920da7f177a9827766491fbb40ade42a96 (patch) | |
tree | 068903bf44f252f381ba96881b57e0581788fddc /graphics/MesaLib | |
parent | 08c01b9a69a2e60ec06bac514ef5338426537a11 (diff) | |
download | pkgsrc-66a022920da7f177a9827766491fbb40ade42a96.tar.gz |
Assume that native MesaLib is built with dri if builin dri exists.
(required for OpenBSD-5.0).
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index c1c23e96505..c8a6fcd7b61 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -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 @@ BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.fr 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 |