pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-bsnes-mercury



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 18 09:42:03 UTC 2019

Modified Files:
        pkgsrc/emulators/libretro-bsnes-mercury: Makefile.common

Log Message:
libretro-bsnes-mercury: Don't break on aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common

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-bsnes-mercury/Makefile.common
diff -u pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.3 pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.4
--- pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.3 Wed Oct  3 09:33:41 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common     Sat May 18 09:42:03 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2018/10/03 09:33:41 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2019/05/18 09:42:03 nia Exp $
 #
 # used by emulators/libretro-bsnes-mercury/Makefile
 # used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -35,5 +35,12 @@ 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"
+
+# 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}



Home | Main Index | Thread Index | Old Index