summaryrefslogtreecommitdiff
path: root/community/dumb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dumb/PKGBUILD')
-rw-r--r--community/dumb/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/dumb/PKGBUILD b/community/dumb/PKGBUILD
index c30d667a1..b499d9579 100644
--- a/community/dumb/PKGBUILD
+++ b/community/dumb/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dumb
pkgver=0.9.3
pkgrel=7
pkgdesc='IT, XM, S3M and MOD player library'
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
license=('custom:dumb' 'GPL')
url='http://dumb.sourceforge.net/'
makedepends=('setconf')
@@ -45,6 +45,8 @@ ALL_TARGETS := core core-examples core-headers
ALL_TARGETS += allegro allegro-examples allegro-headers
PREFIX := /usr
EOF
+ # For some reason -lm is not linked for Allegro examples.
+ sed -ri 's/^(LINK_ALLEGRO := .+)$/\1 -lm/' make/unix.inc
# Use OFLAGS to be able to set CFLAGS without replacing the -I directives
make -j1 OFLAGS="${CFLAGS}"