xspringies: fix PIE.

This commit is contained in:
Christian Neukirchen 2016-05-24 14:08:54 +02:00
parent d90043834e
commit 06e23ab964
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xspringies' # Template file for 'xspringies'
pkgname=xspringies pkgname=xspringies
version=1.12 version=1.12
revision=2 revision=3
makedepends="libX11-devel" makedepends="libX11-devel"
short_desc="Mass and spring simulation system" short_desc="Mass and spring simulation system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -10,8 +10,11 @@ homepage="http://www.cs.rutgers.edu/~decarlo/software.html"
distfiles="http://www.cs.rutgers.edu/~decarlo/software/${pkgname}-${version}.tar.Z>${pkgname}-${version}.tar.gz" distfiles="http://www.cs.rutgers.edu/~decarlo/software/${pkgname}-${version}.tar.Z>${pkgname}-${version}.tar.gz"
checksum=08a3e9f60d1f1e15d38d62dd62baab18f6ad57ee139b0ef41452be66e4ad6a28 checksum=08a3e9f60d1f1e15d38d62dd62baab18f6ad57ee139b0ef41452be66e4ad6a28
post_extract() {
sed -i '/^CFLAGS/s/=/+=/' Makefile.std
}
do_build() { do_build() {
make ${makejobs} -f Makefile.std DDIR=/usr/ make ${makejobs} -f Makefile.std DDIR=/usr/ LIBS="$LDFLAGS -lm -lX11"
} }
do_install() { do_install() {