Date: Mon, 25 May 2020 19:29:04 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536527 - head/audio/liquidsfz Message-ID: <202005251929.04PJT4A5093874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon May 25 19:29:04 2020 New Revision: 536527 URL: https://svnweb.freebsd.org/changeset/ports/536527 Log: audio/liquidsfz: fix build on GCC architectures GCC defines those, causing error, move those to be set only with Clang:: <command-line>: error: duplicate 'unsigned' <command-line>: error: declaration does not declare anything [-fpermissive] <command-line>: error: duplicate 'unsigned' <command-line>: error: declaration does not declare anything [-fpermissive] Modified: head/audio/liquidsfz/Makefile Modified: head/audio/liquidsfz/Makefile ============================================================================== --- head/audio/liquidsfz/Makefile Mon May 25 19:27:50 2020 (r536526) +++ head/audio/liquidsfz/Makefile Mon May 25 19:29:04 2020 (r536527) @@ -19,8 +19,6 @@ GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= swesterfeld -CXXFLAGS+= -Duint=unsigned -Dregister=registerx - PLIST_FILES= bin/liquidsfz \ include/liquidsfz.hh \ lib/libliquidsfz.a \ @@ -29,7 +27,13 @@ PLIST_FILES= bin/liquidsfz \ lib/lv2/liquidsfz.lv2/manifest.ttl \ libdata/pkgconfig/liquidsfz.pc +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == clang +CXXFLAGS+= -Duint=unsigned -Dregister=registerx +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/liquidsfz.lv2/liquidsfz_lv2.so -.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?202005251929.04PJT4A5093874>