diff options
author | nia <nia@pkgsrc.org> | 2019-07-08 10:15:23 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-07-08 10:15:23 +0000 |
commit | 17326553531f30222eda1acb91510e30d2b0df30 (patch) | |
tree | 421720aac6ff6b6fd8c976e44666b10ff1356c8a /emulators | |
parent | d6e78ca8890b7bf81b102ea61bf3a5b1e90c77ea (diff) | |
download | pkgsrc-17326553531f30222eda1acb91510e30d2b0df30.tar.gz |
libretro-dolphin: Fail when MesaLib doesn't have EGL
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/libretro-dolphin/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/libretro-dolphin/Makefile b/emulators/libretro-dolphin/Makefile index fc1262a643c..e1acb24ece3 100644 --- a/emulators/libretro-dolphin/Makefile +++ b/emulators/libretro-dolphin/Makefile @@ -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" |