summaryrefslogtreecommitdiff
path: root/extra/ftgl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ftgl/PKGBUILD')
-rw-r--r--extra/ftgl/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index 09a890d9e..cff2cff4e 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.1.3-rc5
pkgver=${_pkgver/-/}
pkgrel=3
pkgdesc="OpenGL library to use arbitrary fonts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://ftgl.wiki.sourceforge.net/"
license=(MIT)
depends=(freetype2 mesa)
@@ -19,6 +19,10 @@ md5sums=('c7879018cde844059495b3029b0b6503')
build() {
cd "$srcdir/$pkgname-${_pkgver/-/~}"
+
+ # Fix some missing libraries. Should be done in a different way.
+ sed -ri 's/.*_LDADD = .*/& $(GLUT_LIBS) $(GL_LIBS) -lm/' demo/Makefile.in
+
./configure --prefix=/usr --with-pic
make
}