pkgsrc-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: Don't def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69af76fd828d
branches:  trunk
changeset: 396012:69af76fd828d
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon May 20 10:32:32 2019 +0000

description:
libretro-desmume: Don't define __STDC_FORMAT_MACROS, this uses C++11.

Set USE_LANGUAGES to the proper value instead, so redefining the macro
isn't needed.

Bump PKGREVISION.

diffstat:

 emulators/libretro-desmume/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r acac8b5bc73d -r 69af76fd828d emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile       Mon May 20 10:08:01 2019 +0000
+++ b/emulators/libretro-desmume/Makefile       Mon May 20 10:32:32 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2019/05/12 09:49:39 nia Exp $
+# $NetBSD: Makefile,v 1.10 2019/05/20 10:32:32 nia Exp $
 
 DISTNAME=      libretro-desmume-20190426
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        desmume
@@ -16,12 +16,10 @@
 BUILD_DIRS=    desmume/src/frontend/libretro
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c99 gnu++11
 
 .include "../../mk/bsd.prefs.mk"
 
-CXXFLAGS+=     -D__STDC_FORMAT_MACROS
-
 .if !empty(MACHINE_ARCH:M*arm*)
 CXXFLAGS+=     -marm
 CXXFLAGS+=     -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__



Home | Main Index | Thread Index | Old Index