git: b696e1efe9b4 - main - audio/zita-jclient: Remove NATIVE option and disable unsafe optimization
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 06:14:03 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b696e1efe9b45a686a920391fbeac5f7e50e0a14 commit b696e1efe9b45a686a920391fbeac5f7e50e0a14 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-08-07 06:13:12 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-07 06:14:01 +0000 audio/zita-jclient: Remove NATIVE option and disable unsafe optimization PR: 272679 --- audio/zita-jclient/Makefile | 13 ++++--------- audio/zita-jclient/files/patch-Makefile | 7 +++---- 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)