celestia-glut: proper fix for PIE
This commit is contained in:
parent
6892758e20
commit
b335e009b8
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'celestia-glut'
|
# Template file for 'celestia-glut'
|
||||||
pkgname=celestia-glut
|
pkgname=celestia-glut
|
||||||
version=1.6.1
|
version=1.6.1
|
||||||
revision=4
|
revision=5
|
||||||
short_desc="free space simulation using GLUT"
|
short_desc="Free space simulation using GLUT"
|
||||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.shatters.net/celestia/"
|
homepage="http://www.shatters.net/celestia/"
|
||||||
|
@ -17,7 +17,8 @@ wrksrc=celestia-${version}
|
||||||
provides="celestia-${version}_${revision}"
|
provides="celestia-${version}_${revision}"
|
||||||
replaces="celestia>=0"
|
replaces="celestia>=0"
|
||||||
|
|
||||||
do_build() {
|
do_configure() {
|
||||||
local _libs="-lpng -ljpeg -llua5.1 -lglut -lGLU -lGL -logg -ltheora -lz -ldl"
|
CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="${LDFLAGS} ${_libs} -pthread"
|
LIBS="-lpng -ljpeg -llua5.1 -lglut -lGLU -lGL -logg -ltheora -lz -ldl -pthread" \
|
||||||
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue