summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-05-20 10:32:32 +0000
committernia <nia@pkgsrc.org>2019-05-20 10:32:32 +0000
commit5e93f6950bc771760fd4264902e133cf346cf398 (patch)
treed84ac9c11d680940bb499912e7c713c2e8a0a679 /emulators
parent86edf4f843c927fc50453dc35e691234f20d1f94 (diff)
downloadpkgsrc-5e93f6950bc771760fd4264902e133cf346cf398.tar.gz
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 (limited to 'emulators')
-rw-r--r--emulators/libretro-desmume/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/emulators/libretro-desmume/Makefile b/emulators/libretro-desmume/Makefile
index 756e9667ee7..387edea7d57 100644
--- a/emulators/libretro-desmume/Makefile
+++ b/emulators/libretro-desmume/Makefile
@@ -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 @@ EXTRACT_USING= bsdtar
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__