From owner-svn-ports-head@freebsd.org Tue Jan 15 07:49:08 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D1E714A4F46; Tue, 15 Jan 2019 07:49:08 +0000 (UTC) (envelope-from yuri@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) server-signature RSA-PSS (4096 bits) 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 32E90730BC; Tue, 15 Jan 2019 07:49:08 +0000 (UTC) (envelope-from yuri@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 2331AFD20; Tue, 15 Jan 2019 07:49:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0F7n8P3037764; Tue, 15 Jan 2019 07:49:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0F7n8kQ037763; Tue, 15 Jan 2019 07:49:08 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201901150749.x0F7n8kQ037763@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 15 Jan 2019 07:49:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490351 - head/audio/caps-lv2 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/audio/caps-lv2 X-SVN-Commit-Revision: 490351 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 32E90730BC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2019 07:49:08 -0000 Author: yuri Date: Tue Jan 15 07:49:07 2019 New Revision: 490351 URL: https://svnweb.freebsd.org/changeset/ports/490351 Log: audio/caps-lv2: fix build with GCC-based architectures GCC architectures don't have libc++. Add -stdlib=libstdc++ on them to CXXFLAGS and LDFLAGS to fix build. PR: 234943 Submitted by: Piotr Kubaj Modified: head/audio/caps-lv2/Makefile Modified: head/audio/caps-lv2/Makefile ============================================================================== --- head/audio/caps-lv2/Makefile Tue Jan 15 07:45:38 2019 (r490350) +++ head/audio/caps-lv2/Makefile Tue Jan 15 07:49:07 2019 (r490351) @@ -26,6 +26,11 @@ CPP= clang-cpp${LLVM_VER} CC= clang${LLVM_VER} CXX= clang++${LLVM_VER} +.if exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -stdlib=libstdc++ +LDFLAGS+= -stdlib=libstdc++ +.endif + post-patch: @${REINPLACE_CMD} -e "s|__APPLE__|__FreeBSD__|" \ ${WRKSRC}/dsp/v4f_IIR2.h