pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/melonds



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Sep 22 12:57:49 UTC 2021

Modified Files:
        pkgsrc/emulators/melonds: Makefile

Log Message:
melonds: Requires EGL support in Mesa


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/melonds/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/melonds/Makefile
diff -u pkgsrc/emulators/melonds/Makefile:1.7 pkgsrc/emulators/melonds/Makefile:1.8
--- pkgsrc/emulators/melonds/Makefile:1.7       Wed Sep  8 21:05:01 2021
+++ pkgsrc/emulators/melonds/Makefile   Wed Sep 22 12:57:49 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/09/08 21:05:01 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/09/22 12:57:49 nia Exp $
 
 DISTNAME=      melonDS-0.8.3
 PKGNAME=       ${DISTNAME:S/DS/ds/}
@@ -28,6 +28,11 @@ INSTALLATION_DIRS+=  share/applications
 INSTALLATION_DIRS+=    share/icons/hicolor/${s}x${s}/apps
 .endfor
 
+.include "../../graphics/MesaLib/features.mk"
+.if ${MESALIB_SUPPORTS_EGL:tl} == "no"
+PKG_FAIL_REASON+=      "Requires EGL support in Mesa"
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/flatpak/net.kuribo64.melonds.desktop \
                ${DESTDIR}${PREFIX}/share/applications



Home | Main Index | Thread Index | Old Index