From owner-svn-ports-head@freebsd.org Sun Jun 24 04:44:57 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 4100E1016C8D; Sun, 24 Jun 2018 04:44:57 +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 E07AC787AD; Sun, 24 Jun 2018 04:44:56 +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 C0E6019FD8; Sun, 24 Jun 2018 04:44:56 +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 w5O4iu9m073579; Sun, 24 Jun 2018 04:44:56 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5O4iulT073578; Sun, 24 Jun 2018 04:44:56 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806240444.w5O4iulT073578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 24 Jun 2018 04:44:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473179 - head/audio/artyfx-lv2 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/audio/artyfx-lv2 X-SVN-Commit-Revision: 473179 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.26 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, 24 Jun 2018 04:44:57 -0000 Author: yuri Date: Sun Jun 24 04:44:56 2018 New Revision: 473179 URL: https://svnweb.freebsd.org/changeset/ports/473179 Log: audio/artyfx-lv2: Fix build on non-Intel/AMD platforms Reported by: linimon Modified: head/audio/artyfx-lv2/Makefile Modified: head/audio/artyfx-lv2/Makefile ============================================================================== --- head/audio/artyfx-lv2/Makefile Sun Jun 24 04:34:00 2018 (r473178) +++ head/audio/artyfx-lv2/Makefile Sun Jun 24 04:44:56 2018 (r473179) @@ -4,6 +4,7 @@ PORTNAME= artyfx DISTVERSIONPREFIX= release- DISTVERSION= 1.3-14 DISTVERSIONSUFFIX= -gb247969 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -13,11 +14,6 @@ COMMENT= ArtyFX plugin bundle LICENSE= GPLv2 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 LIB_DEPENDS= libsndfile.so:audio/libsndfile @@ -27,5 +23,18 @@ GH_ACCOUNT= openAVproductions GH_PROJECT= openAV-ArtyFX USE_GNOME= cairo USE_XORG= x11 + +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse" + +post-patch: + @${REINPLACE_CMD} -e 's| -g | |; s| -O1 | |; s/-msse2 -mfpmath=sse/$${PORT_SIMD_FLAGS}/g' \ + ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's/-msse -msse2 -mfpmath=sse -g/$${PORT_SIMD_FLAGS}/g' \ + ${WRKSRC}/src/avtk/CMakeLists.txt .include