summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mednafen/Makefile11
-rw-r--r--emulators/mednafen/files/patch-configure.ac14
2 files changed, 14 insertions, 11 deletions
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile
index e5edbb3573ab..170058dd6db8 100644
--- a/emulators/mednafen/Makefile
+++ b/emulators/mednafen/Makefile
@@ -18,8 +18,8 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
libvorbisfile.so:audio/libvorbis \
libzstd.so:archivers/zstd
-USES= autoreconf compiler:c++11-lang gl iconv localbase pkgconfig sdl \
- tar:xz
+USES= autoreconf compiler:c++11-lang gettext-tools gl iconv \
+ localbase pkgconfig sdl tar:xz
USE_GL= egl
USE_SDL= sdl2
@@ -80,7 +80,7 @@ NES_CONFIGURE_ENABLE= nes
NGP_CONFIGURE_ENABLE= ngp
-NLS_USES= gettext
+NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
PCE_CONFIGURE_ENABLE= pce pce-fast
@@ -99,11 +99,6 @@ VB_CONFIGURE_ENABLE= vb
WSWAN_CONFIGURE_ENABLE= wswan
-pre-configure:
- ${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \
- ${WRKSRC}/m4/lib-link.m4 \
- ${WRKSRC}/m4/lib-prefix.m4
-
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog \
diff --git a/emulators/mednafen/files/patch-configure.ac b/emulators/mednafen/files/patch-configure.ac
index 495dbe30a62e..2860db879da7 100644
--- a/emulators/mednafen/files/patch-configure.ac
+++ b/emulators/mednafen/files/patch-configure.ac
@@ -1,6 +1,14 @@
---- configure.ac.orig 2024-08-19 17:50:17 UTC
+--- configure.ac.orig 2024-04-05 02:27:32 UTC
+++ configure.ac
-@@ -238,7 +238,6 @@ SS_EXTRA_FLAGS=""
+@@ -88,6 +88,7 @@ fi
+ AC_MSG_ERROR([*** iconv not found!])
+ fi
+ AM_GNU_GETTEXT
++AM_GNU_GETTEXT_VERSION([0.18.1])
+
+ AC_SUBST(LIBICONV)
+ AC_SUBST(LIBINTL)
+@@ -238,7 +239,6 @@ SS_EXTRA_FLAGS=""
# Begin ss flags
#
SS_EXTRA_FLAGS=""
@@ -8,7 +16,7 @@
AC_SUBST(SS_EXTRA_FLAGS)
#
# End ss flags
-@@ -626,12 +625,12 @@ if test x$with_external_tremor = xyes; then
+@@ -626,12 +626,12 @@ if test x$with_external_tremor = xyes; then
[],
[with_external_tremor=no])
if test x$with_external_tremor = xyes; then