summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorobache <obache>2013-04-19 13:42:37 +0000
committerobache <obache>2013-04-19 13:42:37 +0000
commitac3abf64145123cd791b2a0a80d7237a8a368a51 (patch)
tree993981de3420dd73a764dcd91239746f66f3c70e /graphics/MesaLib
parent3812193f137d7acecfffba45629b9ebc4155e19a (diff)
downloadpkgsrc-ac3abf64145123cd791b2a0a80d7237a8a368a51.tar.gz
reorder condition of the previous change, to be bit faster.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 1e097e21372..1b9ad3ac2c7 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.49 2013/04/19 11:56:23 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.50 2013/04/19 13:42:37 obache Exp $
BUILDLINK_TREE+= MesaLib
@@ -19,7 +19,7 @@ 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) && ${OPSYS} != "Cygwin"
+.if ${X11_TYPE} == "native" && ${OPSYS} != "Cygwin" && exists(${X11BASE}/lib/pkgconfig/dri.pc)
PKG_BUILD_OPTIONS.MesaLib+= dri
.endif