Date: Sat, 7 Jul 2018 07:20:09 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474061 - in head/audio/rkr-lv2: . files Message-ID: <201807070720.w677K9v7036545@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Jul 7 07:20:08 2018 New Revision: 474061 URL: https://svnweb.freebsd.org/changeset/ports/474061 Log: audio/rkr-lv2: Unbreak on non-Intel/AMD architectures Reported by: linimon Added: head/audio/rkr-lv2/files/ head/audio/rkr-lv2/files/patch-lv2_CMakeLists.txt (contents, props changed) Modified: head/audio/rkr-lv2/Makefile Modified: head/audio/rkr-lv2/Makefile ============================================================================== --- head/audio/rkr-lv2/Makefile Sat Jul 7 06:59:41 2018 (r474060) +++ head/audio/rkr-lv2/Makefile Sat Jul 7 07:20:08 2018 (r474061) @@ -13,8 +13,6 @@ COMMENT= Rakarrack effects as LV2 plugins LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= fails to compile: argument unused during compilation: '-msse' [-Wunused-command-line-argument] - BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libsamplerate.so:audio/libsamplerate @@ -25,5 +23,12 @@ GH_ACCOUNT= ssj71 GH_PROJECT= ${PORTNAME}lv2 DATADIR= ${PREFIX}/share/${PORTNAME}.lv2 + +OPTIONS_DEFINE_amd64= SIMD +OPTIONS_DEFINE_i386= SIMD +OPTIONS_DEFAULT_amd64= SIMD +OPTIONS_DEFAULT_i386= SIMD + +SIMD_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse" .include <bsd.port.mk> Added: head/audio/rkr-lv2/files/patch-lv2_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/rkr-lv2/files/patch-lv2_CMakeLists.txt Sat Jul 7 07:20:08 2018 (r474061) @@ -0,0 +1,15 @@ +--- lv2/CMakeLists.txt.orig 2018-07-07 06:51:21 UTC ++++ lv2/CMakeLists.txt +@@ -5,9 +5,9 @@ cmake_minimum_required(VERSION 2.6) + project (rkrlv2) + + set(LV2_INSTALL_DIR lib/lv2/rkr.lv2 ) # CACHE PATH "Specifies where the LV2 libraries should be installed") +-IF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 -msse -msse2 -mfpmath=sse -ffast-math") +-ENDIF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") ++#IF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall ${PORT_SIMD_FLAGS} -ffast-math") ++#ENDIF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") + + # check for our various libraries + find_package(PkgConfig)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807070720.w677K9v7036545>