pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libepoxy libepoxy: set PLIST.egl=yes in the D...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/babbf11405a3
branches:  trunk
changeset: 363160:babbf11405a3
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Jun 03 07:54:07 2017 +0000

description:
libepoxy: set PLIST.egl=yes in the Darwin case in case it's supported.
simplify logic. only functional change should be fixing Darwin builds.

diffstat:

 graphics/libepoxy/Makefile |  15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diffs (31 lines):

diff -r 4cc2c5b02f16 -r babbf11405a3 graphics/libepoxy/Makefile
--- a/graphics/libepoxy/Makefile        Sat Jun 03 03:16:14 2017 +0000
+++ b/graphics/libepoxy/Makefile        Sat Jun 03 07:54:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2017/05/26 17:40:44 adam Exp $
+# $NetBSD: Makefile,v 1.22 2017/06/03 07:54:07 maya Exp $
 
 DISTNAME=      libepoxy-1.4.2
 CATEGORIES=    graphics
@@ -33,16 +33,13 @@
 PLIST.glx=     yes
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
-.  if ${OPSYS} == "Darwin"
+
 CONFIGURE_ARGS+=       --enable-egl=${MESALIB_SUPPORTS_EGL}
-.    if ${X11_TYPE} == "modular"
+.  if !empty(MESALIB_SUPPORTS_EGL:Myes)
+PLIST.egl=     yes
+.  endif
+.  if ${OPSYS} == "Darwin" && ${X11_TYPE} == "modular"
 CPPFLAGS+=     -DGLX_LIB=\"${PREFIX}/lib/libGL.dylib\"
-.    endif
-.  else # ! Darwin
-CONFIGURE_ARGS+=       --enable-egl=${MESALIB_SUPPORTS_EGL}
-.    if !empty(MESALIB_SUPPORTS_EGL:Myes)
-PLIST.egl=     yes
-.    endif
 .  endif
 .else # ! x11
 CONFIGURE_ARGS+=       --enable-glx=no



Home | Main Index | Thread Index | Old Index