summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-21 18:53:22 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-21 18:53:22 +0200
commit1bfe053fe69237a0413f791c7af5515f25264eee (patch)
treef4531fb99e347208abf14d2f416e6c86b066c618 /extra
parent63d523fbbe614c1f463e7178bc845b415664c718 (diff)
Fix ftgl build.
Diffstat (limited to 'extra')
-rw-r--r--extra/ftgl/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index 840803673..cff2cff4e 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -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
}