diff --git a/audio/tetraproc/Makefile b/audio/tetraproc/Makefile index ef6633bfa281..df2428af6115 100644 --- a/audio/tetraproc/Makefile +++ b/audio/tetraproc/Makefile @@ -1,38 +1,38 @@ PORTNAME= tetraproc DISTVERSION= 0.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ MAINTAINER= yuri@FreeBSD.org COMMENT= Tetrahedral microphone processor for ambisonic recording LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../COPYING BUILD_DEPENDS= freetype2>0:print/freetype2 LIB_DEPENDS= libclthreads.so:devel/clthreads \ libclxclient.so:devel/clxclient \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ libpng16.so:graphics/png \ libsndfile.so:audio/libsndfile USES= gmake localbase:ldflags pkgconfig tar:bz2 xorg USE_XORG= x11 xft WRKSRC_SUBDIR= source PLIST_FILES= bin/tetrafile \ bin/tetraproc \ share/${PORTNAME}/k20-meterH0.png \ share/${PORTNAME}/k20-meterH1.png \ share/${PORTNAME}/k20-scaleH.png post-install: @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ bin/tetrafile \ bin/tetraproc .include diff --git a/audio/tetraproc/files/patch-Makefile b/audio/tetraproc/files/patch-Makefile new file mode 100644 index 000000000000..a31757c808c7 --- /dev/null +++ b/audio/tetraproc/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2021-11-13 16:08:17 UTC ++++ Makefile +@@ -25,7 +25,6 @@ SHARED ?= $(PREFIX)/share/tetraproc + VERSION = 0.8.6 + CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\" + CXXFLAGS += -O2 -Wall -ffast-math +-CXXFLAGS += -march=native + LDFLAGS += -pthread + +