From 02470705ce344fb16e809fdbee14bd8fdafab181 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 21 Jun 2016 21:36:47 +0200 Subject: [PATCH] puzzles: update to 20160428. Respect LDFLAGS. --- srcpkgs/puzzles/template | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/puzzles/template b/srcpkgs/puzzles/template index 4770923d532..7ffc4e00891 100644 --- a/srcpkgs/puzzles/template +++ b/srcpkgs/puzzles/template @@ -1,21 +1,23 @@ # Template file for 'puzzles' pkgname=puzzles -version=20150502 -revision=2 -wrksrc="${pkgname}-7f64f4a" +version=20160428 +revision=1 +wrksrc="${pkgname}-b31155b" hostmakedepends="pkg-config perl" makedepends="gtk+-devel" short_desc="Simon Tatham's Portable Puzzle Collection" maintainer="Christian Neukirchen " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" -distfiles="http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=snapshot;h=7f64f4a50e46304b7bad011a1251e146ab63ca15;sf=tgz>${pkgname}-${version}.tar.gz" -checksum=7f4edcbe542b64726461c17272ba49790197272231460abb363dd67fc3cde739 +distfiles="http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=snapshot;h=b31155b732c1bab2e744a0ebf7532af2de2ce4a5;sf=tgz>${pkgname}-${version}.tar.gz" +checksum=d4ac37d3dbba1ab49c26d0ad10f1ac69be20ed17140b137f0a4a1f0c0351d563 do_build() { ./mkfiles.pl - CC="${CC}" CFLAGS="${CFLAGS} -Wno-error" make ${makejobs} -f Makefile.gtk \ - prefix=/usr BINPREFIX=puzzles- + echo "XLIBS += ${LDFLAGS}" >>Makefile.gtk + echo "ULIBS += ${LDFLAGS}" >>Makefile.gtk + CC="${CC}" CFLAGS="${CFLAGS} -Wno-error" \ + make ${makejobs} -f Makefile.gtk prefix=/usr BINPREFIX=puzzles- } do_install() {