aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeglut/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-16 13:40:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-17 08:59:37 +0000
commitcf7d4ed57aa7f67e948ec70c4c1f5d9ee829d23b (patch)
tree24bef822545f52b9853fffa5a902a9929268cd3c /main/freeglut/APKBUILD
parent08bdcfe4c86d8e6443de8ae0c86f29565d2275b2 (diff)
downloadaports-cf7d4ed57aa7f67e948ec70c4c1f5d9ee829d23b.tar.bz2
aports-cf7d4ed57aa7f67e948ec70c4c1f5d9ee829d23b.tar.xz
main/freeglut: rebuild against mesa-9.0
Diffstat (limited to 'main/freeglut/APKBUILD')
-rw-r--r--main/freeglut/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/freeglut/APKBUILD b/main/freeglut/APKBUILD
index d6a894370b..d99cf193d6 100644
--- a/main/freeglut/APKBUILD
+++ b/main/freeglut/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=freeglut
pkgver=2.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="free reimplementation of OpenGL Utility Toolkit (GLUT) library"
url="http://freeglut.sourceforge.net/"
arch="all"
license="Custom"
depends=
-depends_dev="mesa-dev libx11-dev libice-dev libxxf86vm-dev libxi-dev"
-makedepends="$depends_dev"
+depends_dev="mesa-dev libx11-dev libice-dev libxxf86vm-dev libxi-dev glu-dev"
+makedepends="$depends_dev autoconf automake libtool"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
@@ -23,11 +23,14 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ # smooth_opengl3 demo doesn't build with recent mesa, Gentoo bug #428382
+ sed -i "s/smooth_opengl3 //" progs/demos/Makefile.*
+ libtoolize --force && autoreconf -vfi
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure --prefix=/usr --disable-static || return 1
make || return 1
}