Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-desmume libretro-desmume: convert t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a72e745b155
branches: trunk
changeset: 433233:8a72e745b155
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 31 20:35:55 2020 +0000
description:
libretro-desmume: convert to core.mk
diffstat:
emulators/libretro-desmume/Makefile | 21 ++++-----------------
1 files changed, 4 insertions(+), 17 deletions(-)
diffs (45 lines):
diff -r 1d4aa20e3f26 -r 8a72e745b155 emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile Sun May 31 19:47:12 2020 +0000
+++ b/emulators/libretro-desmume/Makefile Sun May 31 20:35:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/05/26 09:45:14 nia Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/31 20:35:55 nia Exp $
DISTNAME= libretro-desmume-20190426
PKGREVISION= 2
@@ -14,13 +14,9 @@
BUILD_DIRS= desmume/src/frontend/libretro
MAKE_FILE= Makefile.libretro
-USE_TOOLS+= gmake
-USE_LANGUAGES= c99 gnu++11
+USE_LANGUAGES= c c++
-OPSYSVARS+= SOEXT
-SOEXT.Darwin= dylib
-SOEXT.*= so
-PLIST_SUBST+= SOEXT=${SOEXT}
+LIBRETRO_CORE= desmume
.include "../../mk/bsd.prefs.mk"
@@ -36,18 +32,9 @@
MAKE_FLAGS+= DESMUME_JIT=0
.endif
-MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
-
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=../../frontend/libretro/link.T
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-
-do-install:
- ${INSTALL_LIB} \
- ${WRKSRC}/desmume/src/frontend/libretro/desmume_libretro.so \
- ${DESTDIR}${PREFIX}/lib/libretro/desmume_libretro.so
-
+.include "../../emulators/retroarch/core.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index