From owner-svn-ports-all@freebsd.org Sat Jun 9 18:04:23 2018 Return-Path: Delivered-To: svn-ports-all@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 973C0101A669; Sat, 9 Jun 2018 18:04:23 +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 496F96A111; Sat, 9 Jun 2018 18:04:23 +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 2C07921463; Sat, 9 Jun 2018 18:04:23 +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 w59I4N2t025941; Sat, 9 Jun 2018 18:04:23 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w59I4M55025940; Sat, 9 Jun 2018 18:04:22 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806091804.w59I4M55025940@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 9 Jun 2018 18:04:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472075 - in head/audio/eq10q-lv2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio/eq10q-lv2: . files X-SVN-Commit-Revision: 472075 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.26 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: Sat, 09 Jun 2018 18:04:23 -0000 Author: yuri Date: Sat Jun 9 18:04:22 2018 New Revision: 472075 URL: https://svnweb.freebsd.org/changeset/ports/472075 Log: audio/eq10q-lv2: Unbreak on non-Intel/AMD platforms Make SSE flags depend on the option SSE that defaults to 'on' only on amd64/i386 architectures. Modified: head/audio/eq10q-lv2/Makefile head/audio/eq10q-lv2/files/patch-CMakeLists.txt Modified: head/audio/eq10q-lv2/Makefile ============================================================================== --- head/audio/eq10q-lv2/Makefile Sat Jun 9 17:54:27 2018 (r472074) +++ head/audio/eq10q-lv2/Makefile Sat Jun 9 18:04:22 2018 (r472075) @@ -2,6 +2,7 @@ PORTNAME= eq10q DISTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} PKGNAMESUFFIX= -lv2 @@ -12,12 +13,6 @@ COMMENT= Parametric equalizer LV2 audio plugin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -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_mips64= fails to compile: unknown FP unit 'sse' -BROKEN_powerpc64= fails to compile: unrecognized command line option "-msse" - BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ @@ -26,6 +21,13 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ USES= cmake:outsource dos2unix localbase:ldflags pkgconfig USE_GNOME= glib20 gtk20 gtkmm24 gdkpixbuf2 atkmm cairo cairomm pangomm DOS2UNIX_FILES= dsp/vu.h + +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -mfpmath=sse" post-patch: @${REINPLACE_CMD} -e 's/pow10(/pow(10,/g' \ Modified: head/audio/eq10q-lv2/files/patch-CMakeLists.txt ============================================================================== --- head/audio/eq10q-lv2/files/patch-CMakeLists.txt Sat Jun 9 17:54:27 2018 (r472074) +++ head/audio/eq10q-lv2/files/patch-CMakeLists.txt Sat Jun 9 18:04:22 2018 (r472075) @@ -7,7 +7,7 @@ -##ADD_DEFINITIONS(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99) -set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99") +##ADD_DEFINITIONS(-Wall -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99) -+set(CMAKE_C_FLAGS "-Wall -fPIC -finline-functions -msse -mfpmath=sse -std=c99") ++set(CMAKE_C_FLAGS "-Wall -fPIC -finline-functions ${PORT_SIMD_FLAGS} -std=c99") #set(CMAKE_C_FLAGS "-Wall -O0 -g -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99") set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11")