From owner-svn-ports-head@freebsd.org Sun Oct 28 05:56:47 2018 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 4008410E85F0; Sun, 28 Oct 2018 05:56:47 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAA28713A8; Sun, 28 Oct 2018 05:56:46 +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 CC65F1B553; Sun, 28 Oct 2018 05:56:46 +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 w9S5ukKG021369; Sun, 28 Oct 2018 05:56:46 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9S5ukD6021368; Sun, 28 Oct 2018 05:56:46 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810280556.w9S5ukD6021368@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 28 Oct 2018 05:56:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483227 - head/audio/zam-plugins-lv2 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/audio/zam-plugins-lv2 X-SVN-Commit-Revision: 483227 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Sun, 28 Oct 2018 05:56:47 -0000 Author: yuri Date: Sun Oct 28 05:56:46 2018 New Revision: 483227 URL: https://svnweb.freebsd.org/changeset/ports/483227 Log: audio/zam-plugins-lv2: fix build with GCC-based architectures PR: 232711 Submitted by: Piotr Kubaj Modified: head/audio/zam-plugins-lv2/Makefile Modified: head/audio/zam-plugins-lv2/Makefile ============================================================================== --- head/audio/zam-plugins-lv2/Makefile Sun Oct 28 05:42:13 2018 (r483226) +++ head/audio/zam-plugins-lv2/Makefile Sun Oct 28 05:56:46 2018 (r483227) @@ -13,11 +13,6 @@ COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugi LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_aarch64= fails to compile: unknown FP unit 'sse' -BROKEN_armv6= fails to compile: unknown FP unit 'sse' -BROKEN_armv7= fails to compile: unknown FP unit 'sse' -BROKEN_powerpc64= fails to compile: unknown FP unit 'sse' - BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ @@ -25,7 +20,7 @@ LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ libsamplerate.so:audio/libsamplerate \ libzita-convolver.so:audio/zita-convolver -USES= compiler:c++11-lib gmake localbase:ldflags pkgconfig +USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= zamaudio GH_TUPLE= DISTRHO:DPF:2786991:d/dpf @@ -36,11 +31,18 @@ CFLAGS+= -I${FILESDIR} MAKE_ARGS+= USE_SYSTEM_LIBS=1 xLDFLAGS+= -lzita-convolver # TODO this can be reduced to only relevant places +.include + post-extract: @${RM} -r ${WRKSRC}/lib/zita-convolver-* post-patch: #@${REINPLACE_CMD} -e 's|#include "../../lib/zita-convolver-.*/zita-convolver.h"|#include |' ${WRKSRC}/plugins/Zam*/convolution.*pp @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e '/-mfpmath=sse/d' \ + -e 's/-mtune=generic -msse -msse2//' \ + ${WRKSRC}/Makefile.mk ${WRKSRC}/dpf/dgl/Makefile.mk +.endif -.include +.include