git: 034c994b3b50 - main - audio/aeolus: Fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 May 2022 20:14:14 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=034c994b3b506897d097619623a9e3b3a6e080d9
commit 034c994b3b506897d097619623a9e3b3a6e080d9
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-20 20:13:39 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-20 20:13:39 +0000
audio/aeolus: Fix build on aarch64
Reported by: fallout
---
audio/aeolus/Makefile | 1 +
audio/aeolus/files/patch-Makefile | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/audio/aeolus/Makefile b/audio/aeolus/Makefile
index 59ac203a0014..57e4cbe5cb43 100644
--- a/audio/aeolus/Makefile
+++ b/audio/aeolus/Makefile
@@ -1,5 +1,6 @@
PORTNAME= aeolus
DISTVERSION= 0.10.4
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
diff --git a/audio/aeolus/files/patch-Makefile b/audio/aeolus/files/patch-Makefile
index be5b6464b581..4e050d196c2e 100644
--- a/audio/aeolus/files/patch-Makefile
+++ b/audio/aeolus/files/patch-Makefile
@@ -1,14 +1,20 @@
---- Makefile.orig 2022-05-05 04:29:49 UTC
+--- Makefile.orig 2022-05-10 14:21:40 UTC
+++ Makefile
-@@ -21,7 +21,7 @@
+@@ -21,12 +21,12 @@
SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
-LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
+LIBDIR ?= $(PREFIX)/lib
- VERSION = 0.10.3
+ VERSION = 0.10.4
CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(LIBDIR)\"
+ CXXFLAGS += -O2 -Wall
+-CXXFLAGS += -march=native
++#CXXFLAGS += -march=native # doesn't work on arm64
+
+
+ all: aeolus aeolus_x11.so aeolus_txt.so
@@ -75,7 +75,7 @@ install: aeolus aeolus_x11.so aeolus_txt.so
install -m 755 aeolus $(DESTDIR)$(BINDIR)
install -m 755 aeolus_x11.so $(DESTDIR)$(LIBDIR)