From 76f5edf15fc50dd1a2d8b08c03d9f0a72c120621 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 12 Dec 2014 09:11:47 +0100 Subject: [PATCH] xlockmore: unbreak cross; do not install stripped bins. --- srcpkgs/xlockmore/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xlockmore/template b/srcpkgs/xlockmore/template index 45552bc3dc3..b8b19f1210e 100644 --- a/srcpkgs/xlockmore/template +++ b/srcpkgs/xlockmore/template @@ -1,7 +1,7 @@ # Template file for 'xlockmore' pkgname=xlockmore version=5.32 -revision=2 +revision=3 hostmakedepends="pkg-config" makedepends="freetype-devel libXt-devel libXext-devel" short_desc="Provides the 'xlock' X screen locker" @@ -13,7 +13,10 @@ checksum=a0e67fd292579b0da2ded37bf05c31615020d0f7d638ff7a7eb2dc5cdc900870 build_style=gnu-configure configure_args="--enable-appdefaultdir=/usr/share/X11/app-defaults" +pre_build() { + sed -i 's,-L/usr/lib,,g' modes/Makefile +} do_install() { - make xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \ + make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \ mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install }