From 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Oct 2012 00:46:01 -0700 Subject: Sun Oct 14 00:45:38 PDT 2012 --- extra/freeglut/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'extra/freeglut') 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 # Contributor: Tom Newsom 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 } -- cgit v1.2.3-54-g00ecf