diff options
author | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
commit | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch) | |
tree | b31de2992989d616383f6552ba5d23b75701ef04 /extra/freeglut | |
parent | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff) |
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'extra/freeglut')
-rw-r--r-- | extra/freeglut/PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/freeglut/PKGBUILD b/extra/freeglut/PKGBUILD index afd3f36bf..a0196905e 100644 --- a/extra/freeglut/PKGBUILD +++ b/extra/freeglut/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 147152 2012-01-23 14:30:00Z heftig $ +# $Id: PKGBUILD 168622 2012-10-13 15:13:40Z andyrtr $ # Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=freeglut pkgver=2.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Provides functionality for small OpenGL programs" arch=('i686' 'x86_64') url="http://freeglut.sourceforge.net/" license=('MIT') -depends=('libxxf86vm' 'mesa' 'libxi') +depends=('libxi' 'libxrandr' 'libgl') +makedepends=('mesa' 'glu' 'libxxf86vm') replaces=('glut') provides=('glut') conflicts=('glut') @@ -20,6 +21,11 @@ sha1sums=('4debbe559c6c9841ce1abaddc9d461d17c6083b1') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # smooth_opengl3 demo doesn't build with recent mesa, Gentoo bug #428382 + sed -i "s/smooth_opengl3 //" progs/demos/Makefile.* + + autoreconf -vfi ./configure --prefix=/usr --disable-static make all } |