pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-desmume



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 31 20:35:55 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-desmume: Makefile

Log Message:
libretro-desmume: convert to core.mk


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/libretro-desmume/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/libretro-desmume/Makefile
diff -u pkgsrc/emulators/libretro-desmume/Makefile:1.11 pkgsrc/emulators/libretro-desmume/Makefile:1.12
--- pkgsrc/emulators/libretro-desmume/Makefile:1.11     Tue May 26 09:45:14 2020
+++ pkgsrc/emulators/libretro-desmume/Makefile  Sun May 31 20:35:55 2020
@@ -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 @@ LICENSE=     gnu-gpl-v2
 
 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=1
 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