Fix build under Mac OS X when XQuartz is used instead of modular X11.
This commit is contained in:
parent
faf38a9a72
commit
e8514f242f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.18 2017/02/18 02:37:11 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2017/03/16 18:38:33 tron Exp $
|
||||
|
||||
DISTNAME= libepoxy-1.4
|
||||
CATEGORIES= graphics
|
||||
|
@ -34,7 +34,7 @@ PLIST.glx= yes
|
|||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.include "../../x11/libX11/buildlink3.mk"
|
||||
. if ${OPSYS} == "Darwin"
|
||||
CONFIGURE_ARGS+= --enable-egl=yes
|
||||
CONFIGURE_ARGS+= --enable-egl=${MESALIB_SUPPORTS_EGL}
|
||||
. if ${X11_TYPE} == "modular"
|
||||
CPPFLAGS+= -DGLX_LIB=\"${PREFIX}/lib/libGL.dylib\"
|
||||
. endif
|
||||
|
|
Loading…
Reference in a new issue