Index: audio/ardour6/Makefile =================================================================== --- audio/ardour6/Makefile (revision 551696) +++ audio/ardour6/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= ardour6 PORTVERSION= 6.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://github.com/beerml/ardour_releases/raw/master/ # The original master side points to the latest release only: @@ -41,6 +41,7 @@ libcurl.so:ftp/curl \ libogg.so:audio/libogg \ libFLAC.so:audio/flac \ + libSoundTouch.so:audio/soundtouch \ libwebsockets.so:net/libwebsockets USES= compiler:c++11-lang desktop-file-utils gettext gnome \ @@ -105,9 +106,10 @@ .include .if ${ARCH} == "i386" -WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=i386 +# only support for i686 or better +WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse -march=i686 -DARCH_X86' --dist-target=i686 .elif ${ARCH} == "amd64" -WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=x86_64 +WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse -DARCH_X86' --dist-target=x86_64 .elif ${ARCH:Mpowerpc*} LLD_UNSAFE= yes .endif Index: audio/ardour6/files/patch-wscript =================================================================== --- audio/ardour6/files/patch-wscript (revision 551696) +++ audio/ardour6/files/patch-wscript (nonexistent) @@ -1,25 +0,0 @@ ---- wscript.orig 2020-07-08 18:34:29 UTC -+++ wscript -@@ -502,7 +502,7 @@ int main() { return 0; }''', - c_flags.append("-Qunused-arguments") - cxx_flags.append("-Qunused-arguments") - -- if (re.search ("(i[0-9]86|x86_64|AMD64)", cpu) != None) and conf.env['build_target'] != 'none': -+ if (re.search ("(i[0-9]86|x86_64|amd64|AMD64)", cpu) != None) and conf.env['build_target'] != 'none': - - # - # ARCH_X86 means anything in the x86 family from i386 to x86_64 -@@ -534,6 +534,13 @@ int main() { return 0; }''', - compiler_flags.append ("-march=i586") - elif cpu == "i686": - compiler_flags.append ("-march=i686") -+ -+ else : -+ # and cpu == 'amd64' : -+ # this is 20yo tech and present in all 64bit cpus -+ build_host_supports_sse = True -+ compiler_flags.append ("-mmmx") -+ compiler_flags.append ("-m3dnow") - - if not is_clang and ((conf.env['build_target'] == 'i686') or (conf.env['build_target'] == 'x86_64')) and build_host_supports_sse: - compiler_flags.extend ([ flags_dict['sse'], flags_dict['fpmath-sse'], flags_dict['xmmintrinsics'] ]) Property changes on: audio/ardour6/files/patch-wscript ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property