From owner-svn-ports-all@freebsd.org Mon May 25 19:29:04 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F352E2C85E2; Mon, 25 May 2020 19:29:04 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49W6bN57ffz4R07; Mon, 25 May 2020 19:29:04 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AB3FB171F8; Mon, 25 May 2020 19:29:04 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04PJT4N9093875; Mon, 25 May 2020 19:29:04 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04PJT4A5093874; Mon, 25 May 2020 19:29:04 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202005251929.04PJT4A5093874@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 25 May 2020 19:29:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536527 - head/audio/liquidsfz X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/audio/liquidsfz X-SVN-Commit-Revision: 536527 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 19:29:05 -0000 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:: : error: duplicate 'unsigned' : error: declaration does not declare anything [-fpermissive] : error: duplicate 'unsigned' : 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 + +.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 +.include