emulators/libretro-kronos: Update to 2.1.5.20210601
And Fix build on FreeBSD 13.1-RELEASE PR: 265186
This commit is contained in:
parent
519bbdf872
commit
a9848f73bd
2 changed files with 17 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= libretro-kronos
|
||||
PORTVERSION= 0.20210617
|
||||
PORTVERSION= 2.1.5.20210601
|
||||
CATEGORIES= emulators games
|
||||
|
||||
MAINTAINER= beyert@cs.ucr.edu
|
||||
|
@ -43,16 +43,26 @@ pre-build:
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
# clang13 runs out of memory
|
||||
LLVM_VER= 12
|
||||
BUILD_DEPENDS+= clang++${LLVM_VER}:devel/llvm${LLVM_VER}
|
||||
CC= ${LOCALBASE}/bin/clang${LLVM_VER}
|
||||
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/yabause/src/libretro && ${DO_MAKE_BUILD}
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH} != "amd64"
|
||||
@${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" ${WRKSRC}/yabause/src/libretro/Makefile
|
||||
@${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" \
|
||||
${WRKSRC}/yabause/src/libretro/Makefile
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/kronos_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/kronos_libretro.so \
|
||||
${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1623926653
|
||||
SHA256 (FCare-Kronos-0.20210617-a39f95a_GH0.tar.gz) = a9edd4b88b874f4b1d1fb0b9e66cf2bc8bc3b643ee02b127db84a79fce31a6e8
|
||||
SIZE (FCare-Kronos-0.20210617-a39f95a_GH0.tar.gz) = 36104449
|
||||
TIMESTAMP = 1656726449
|
||||
SHA256 (FCare-Kronos-2.1.5.20210601-a39f95a_GH0.tar.gz) = a9edd4b88b874f4b1d1fb0b9e66cf2bc8bc3b643ee02b127db84a79fce31a6e8
|
||||
SIZE (FCare-Kronos-2.1.5.20210601-a39f95a_GH0.tar.gz) = 36104449
|
||||
|
|
Loading…
Reference in a new issue