From d90043834edc25072e164846d28de30bca9f5b3f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 24 May 2016 13:58:55 +0200 Subject: [PATCH] unclutter: fix PIE, don't bother with makefile. --- srcpkgs/unclutter/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/unclutter/template b/srcpkgs/unclutter/template index 14dcfb6b7e6..fa996eb575e 100644 --- a/srcpkgs/unclutter/template +++ b/srcpkgs/unclutter/template @@ -1,8 +1,8 @@ # Template file for 'unclutter' pkgname=unclutter version=8 -revision=5 -wrksrc=$pkgname +revision=4 +wrksrc="$pkgname" makedepends="libX11-devel" short_desc="A small program for hiding the mouse cursor" maintainer="Christian Neukirchen " @@ -12,7 +12,7 @@ distfiles="${DEBIAN_SITE}/main/u/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=dfc0e4f22dd2398f91206e82c2a193a635a7fa5c1e03910db476cb2a8cf4f084 do_build() { - make CC="$CC" CFLAGS="$CFLAGS" INSTPGMFLAGS= + ${CC} ${CFLAGS} -o unclutter unclutter.c ${LDFLAGS} -lX11 } do_install() {