Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-bsnes-mercury libretro-bsnes-mercur...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a6d383b2882b
branches: trunk
changeset: 433130:a6d383b2882b
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 31 11:45:45 2020 +0000
description:
libretro-bsnes-mercury: convert to core.mk
diffstat:
emulators/libretro-bsnes-mercury/Makefile.common | 26 +++++------------------
1 files changed, 6 insertions(+), 20 deletions(-)
diffs (59 lines):
diff -r 8df08209c229 -r a6d383b2882b emulators/libretro-bsnes-mercury/Makefile.common
--- a/emulators/libretro-bsnes-mercury/Makefile.common Sun May 31 11:40:47 2020 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile.common Sun May 31 11:45:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2020/05/26 09:45:13 nia Exp $
+# $NetBSD: Makefile.common,v 1.6 2020/05/31 11:45:45 nia Exp $
#
# used by emulators/libretro-bsnes-mercury/Makefile
# used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -7,7 +7,6 @@
DISTNAME= libretro-bsnes-mercury-20180803
PKGNAME= ${DISTNAME:S/libretro-bsnes-mercury/libretro-bsnes-mercury-${BSNES_PROFILE}/}
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= bsnes-mercury
GITHUB_TAG= 4e221df676ffc7b46d083cf2ae100131eabe5076
@@ -15,36 +14,23 @@
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
-USE_TOOLS+= gmake
-USE_LANGUAGES= c gnu++11
-
-OPSYSVARS+= SOEXT
-SOEXT.Darwin= dylib
-SOEXT.*= so
-PLIST_SUBST+= SOEXT=${SOEXT}
+USE_LANGUAGES= c c++
MAKE_FLAGS+= profile=${BSNES_PROFILE}
MAKE_FLAGS+= compiler=${CXX:Q}
-MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=target-libretro/link.T
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-
DISTINFO_FILE= ${.CURDIR}/../../emulators/libretro-bsnes-mercury/distinfo
PATCHDIR= ${.CURDIR}/../../emulators/libretro-bsnes-mercury/patches
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/out/bsnes_mercury_${BSNES_PROFILE}_libretro.so \
- ${DESTDIR}${PREFIX}/lib/libretro/bsnes_mercury_${BSNES_PROFILE}_libretro.so
-
-.include "../../mk/bsd.fast.prefs.mk"
+.include "../../mk/bsd.prefs.mk"
# Needed in libco/aarch64.c
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb"
CFLAGS+= -DHAVE_POSIX_MEMALIGN=1
.endif
-.include "../../mk/dlopen.buildlink3.mk"
-BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+LIBRETRO_CORE= bsnes_mercury_${BSNES_PROFILE}
+
+.include "../../emulators/retroarch/core.mk"
Home |
Main Index |
Thread Index |
Old Index