summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-09-07 00:12:45 +0000
committernia <nia@pkgsrc.org>2018-09-07 00:12:45 +0000
commit6cea5c62cd61c56a5008b27b67ab93c848361eca (patch)
tree98b2593a851cde7891b2a9b364fc059d9ff07e95
parenta53c9405e5586ad22f7336164bf1af4c14765d08 (diff)
downloadpkgsrc-6cea5c62cd61c56a5008b27b67ab93c848361eca.tar.gz
libretro-beetle-(psx|saturn): Define _POSIX_C_SOURCE for CLOCK_REALTIME
hopefully appeases FreeBSD.
-rw-r--r--emulators/libretro-beetle-psx/Makefile4
-rw-r--r--emulators/libretro-beetle-saturn/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/emulators/libretro-beetle-psx/Makefile b/emulators/libretro-beetle-psx/Makefile
index e34d73f2404..62c93a313dc 100644
--- a/emulators/libretro-beetle-psx/Makefile
+++ b/emulators/libretro-beetle-psx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 00:19:58 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
DISTNAME= libretro-beetle-psx-20180808
CATEGORIES= emulators
@@ -18,6 +18,8 @@ USE_LANGUAGES= c c++
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+CFLAGS+= -D_POSIX_C_SOURCE=200112L
+
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"
diff --git a/emulators/libretro-beetle-saturn/Makefile b/emulators/libretro-beetle-saturn/Makefile
index 6ba9be85484..206af30aee0 100644
--- a/emulators/libretro-beetle-saturn/Makefile
+++ b/emulators/libretro-beetle-saturn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/12 13:22:43 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
DISTNAME= libretro-beetle-saturn-20180620
CATEGORIES= emulators
@@ -23,6 +23,8 @@ ONLY_FOR_PLATFORM= *-*-x86_64
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+CFLAGS+= -D_POSIX_C_SOURCE=200112L
+
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"