libretro-dolphin: Fail when MesaLib doesn't have EGL
This commit is contained in:
parent
01be806d20
commit
3820a093bc
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2019/07/01 04:08:08 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2019/07/08 10:15:23 nia Exp $
|
||||
|
||||
DISTNAME= libretro-dolphin-20180827
|
||||
PKGREVISION= 3
|
||||
|
@ -34,6 +34,7 @@ CMAKE_ARGS+= -DLIBRETRO=ON
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
# Big endian platforms not supported.
|
||||
ONLY_FOR_PLATFORM= ${LITTLEENDIANPLATFORMS}
|
||||
|
||||
.if ${MACHINE_ARCH} != "x86_64" && ${MACHINE_ARCH} != "aarch64"
|
||||
|
@ -56,6 +57,9 @@ do-install:
|
|||
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.if ${MESALIB_SUPPORTS_EGL} != "yes"
|
||||
PKG_FAIL_REASON+= "MesaLib has no EGL support."
|
||||
.endif
|
||||
.include "../../textproc/pugixml/buildlink3.mk"
|
||||
.include "../../www/curl/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue