pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-dolphin libretro-dolphin: Fail when...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfbd3378b8db
branches:  trunk
changeset: 336143:dfbd3378b8db
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jul 08 10:15:23 2019 +0000

description:
libretro-dolphin: Fail when MesaLib doesn't have EGL

diffstat:

 emulators/libretro-dolphin/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r c726f95e4356 -r dfbd3378b8db emulators/libretro-dolphin/Makefile
--- a/emulators/libretro-dolphin/Makefile       Mon Jul 08 10:11:38 2019 +0000
+++ b/emulators/libretro-dolphin/Makefile       Mon Jul 08 10:15:23 2019 +0000
@@ -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 @@
 
 .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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index