Date: Wed, 16 Oct 2019 20:29:51 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514612 - head/audio/fasttracker2 Message-ID: <201910162029.x9GKTpCS080020@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Wed Oct 16 20:29:51 2019 New Revision: 514612 URL: https://svnweb.freebsd.org/changeset/ports/514612 Log: Fix build on powerpc64. r513477 caused a failure on pylon.nyi.FreeBSD.org on 20191013. PR: 241264 Submitted by: linimon Discussed with: fox MFH: 2019Q4 (blanket) Modified: head/audio/fasttracker2/Makefile Modified: head/audio/fasttracker2/Makefile ============================================================================== --- head/audio/fasttracker2/Makefile Wed Oct 16 19:50:10 2019 (r514611) +++ head/audio/fasttracker2/Makefile Wed Oct 16 20:29:51 2019 (r514612) @@ -19,7 +19,7 @@ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt -USES= cmake dos2unix iconv:wchar_t localbase:ldflags sdl zip +USES= cmake compiler dos2unix iconv:wchar_t localbase:ldflags sdl zip USE_SDL= sdl2 WRKSRC= ${WRKDIR}/ft2-clone-code @@ -42,6 +42,16 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound +CFLAGS_i386+= -msse2 + +.include <bsd.port.pre.mk> + +# clang reports: +# error: invalid argument '-std=c99' not allowed with 'C++' +.if ${CHOSEN_COMPILER_TYPE} == gcc +USE_CSTD= c99 +.endif + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \ @@ -49,4 +59,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910162029.x9GKTpCS080020>