summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-08-06 23:13:12 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2023-08-06 23:14:01 -0700
commitb696e1efe9b45a686a920391fbeac5f7e50e0a14 (patch)
treeb3aed4451703b56ac5385b53b92df1274ae3beab /audio
parentnet/storj: update Storj programs to version 1.84.1 (diff)
audio/zita-jclient: Remove NATIVE option and disable unsafe optimization
PR: 272679
Diffstat (limited to 'audio')
-rw-r--r--audio/zita-jclient/Makefile13
-rw-r--r--audio/zita-jclient/files/patch-Makefile7
2 files changed, 7 insertions, 13 deletions
diff --git a/audio/zita-jclient/Makefile b/audio/zita-jclient/Makefile
index fc09fa5282f2..a3808ba34451 100644
--- a/audio/zita-jclient/Makefile
+++ b/audio/zita-jclient/Makefile
@@ -1,6 +1,6 @@
PORTNAME= zita-jclient
DISTVERSION= 0.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
@@ -16,20 +16,15 @@ LIB_DEPENDS= libjack.so:audio/jack
USES= gmake localbase:ldflags pkgconfig tar:bz2
USE_LDCONFIG= yes
-ALL_TARGET= libzita-jclient.so.${PORTVERSION}
+ALL_TARGET= libzita-jclient.so.${DISTVERSION}
WRKSRC_SUBDIR= source
PLIST_FILES= include/zita-jclient.h \
lib/libzita-jclient.so \
- lib/libzita-jclient.so.${PORTVERSION}
-
-OPTIONS_DEFINE= NATIVE
-
-NATIVE_DESC= Build with native optimizations (-march=native)
-NATIVE_MAKE_ARGS= FREEBSD_CXXFLAGS_EXTRA="-march=native"
+ lib/libzita-jclient.so.${DISTVERSION}
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libzita-jclient.so.${PORTVERSION}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libzita-jclient.so.${DISTVERSION}
.include <bsd.port.mk>
diff --git a/audio/zita-jclient/files/patch-Makefile b/audio/zita-jclient/files/patch-Makefile
index 513373343dac..e8b6a5151346 100644
--- a/audio/zita-jclient/files/patch-Makefile
+++ b/audio/zita-jclient/files/patch-Makefile
@@ -9,18 +9,17 @@
PREFIX ?= /usr/local
INCDIR ?= $(PREFIX)/include
LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
-@@ -31,8 +31,8 @@ VERSION = $(MAJVERS).$(MINVERS)
+@@ -31,8 +31,7 @@ VERSION = $(MAJVERS).$(MINVERS)
CPPFLAGS += -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-CXXFLAGS += -Wall -fPIC -O2 -ffast-math
-CXXFLAGS += -march=native
-+CXXFLAGS += -Wall -fPIC -ffast-math
-+CXXFLAGS += ${FREEBSD_CXXFLAGS_EXTRA}
++CXXFLAGS += -Wall -fPIC
LDFLAGS +=
LDLIBS +=
-@@ -56,7 +56,7 @@ install: $(ZITA-JCLIENT_MIN)
+@@ -56,7 +55,7 @@ install: $(ZITA-JCLIENT_MIN)
install -d $(DESTDIR)$(LIBDIR)
install -m 644 $(ZITA-JCLIENT_H) $(DESTDIR)$(INCDIR)
install -m 755 $(ZITA-JCLIENT_MIN) $(DESTDIR)$(LIBDIR)