summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-04-19 13:42:37 +0000
committerobache <obache@pkgsrc.org>2013-04-19 13:42:37 +0000
commitb8ca84de5514313ba74a4b0fb97fbbc2b552d42d (patch)
tree993981de3420dd73a764dcd91239746f66f3c70e /graphics
parent26cd16ecd04a26c1e141d80d19f70629a2857431 (diff)
downloadpkgsrc-b8ca84de5514313ba74a4b0fb97fbbc2b552d42d.tar.gz
reorder condition of the previous change, to be bit faster.
Diffstat (limited to 'graphics')
-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