From 06e23ab964eb69a463b62b9124c6fc917bc3b681 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 24 May 2016 14:08:54 +0200 Subject: [PATCH] xspringies: fix PIE. --- srcpkgs/xspringies/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xspringies/template b/srcpkgs/xspringies/template index 46685d4065a..e5f92068fed 100644 --- a/srcpkgs/xspringies/template +++ b/srcpkgs/xspringies/template @@ -1,7 +1,7 @@ # Template file for 'xspringies' pkgname=xspringies version=1.12 -revision=2 +revision=3 makedepends="libX11-devel" short_desc="Mass and spring simulation system" maintainer="Christian Neukirchen " @@ -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" checksum=08a3e9f60d1f1e15d38d62dd62baab18f6ad57ee139b0ef41452be66e4ad6a28 +post_extract() { + sed -i '/^CFLAGS/s/=/+=/' Makefile.std +} do_build() { - make ${makejobs} -f Makefile.std DDIR=/usr/ + make ${makejobs} -f Makefile.std DDIR=/usr/ LIBS="$LDFLAGS -lm -lX11" } do_install() {