Skip to content

Commit

Permalink
audio/aeolus: Fix build on aarch64
Browse files Browse the repository at this point in the history
Reported by:	fallout
  • Loading branch information
yurivict committed May 20, 2022
1 parent 9d02833 commit 034c994
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions audio/aeolus/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= aeolus
DISTVERSION= 0.10.4
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/

Expand Down
12 changes: 9 additions & 3 deletions audio/aeolus/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 034c994

Please sign in to comment.