Index: branches/2019Q3/audio/fasttracker2/Makefile =================================================================== --- branches/2019Q3/audio/fasttracker2/Makefile (revision 512702) +++ branches/2019Q3/audio/fasttracker2/Makefile (revision 512703) @@ -1,56 +1,64 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= fasttracker2 DISTVERSION= 0.1-b159 CATEGORIES= audio MASTER_SITES= https://16-bits.org/ \ LOCAL/ehaupt DISTNAME= ft2clone-${PORTVERSION:C/.*b/b/}-code MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fasttracker II clone LICENSE= BSD3CLAUSE CC-BY-NC-SA-4.0 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= dos2unix iconv:wchar_t localbase:ldflags sdl zip +USES= compiler dos2unix iconv:wchar_t localbase:ldflags sdl zip USE_SDL= sdl2 WRKSRC= ${WRKDIR}/ft2-clone-code DESKTOP_ENTRIES="FastTracker II" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/ft2-clone.ico" \ "fasttracker2" \ "" \ false PLIST_FILES= bin/fasttracker2 share/pixmaps/ft2-clone.ico OPTIONS_DEFINE= ALSA OPTIONS_DEFAULT=ALSA LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound CFLAGS_i386+= -msse2 +.include + +# clang reports: +# error: invalid argument '-std=c99' not allowed with 'C++' +.if ${CHOSEN_COMPILER_TYPE} == gcc +USE_CSTD= c99 +.endif + do-build: ${CC} ${CFLAGS} ${LDFLAGS} \ ${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \ -o ${WRKSRC}/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps -.include +.include Index: branches/2019Q3 =================================================================== --- branches/2019Q3 (revision 512702) +++ branches/2019Q3 (revision 512703) Property changes on: branches/2019Q3 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r512702