puzzles: the code may pass -pedantic, but glib surely doesn't.

This commit is contained in:
Leah Neukirchen 2019-07-24 21:55:07 +02:00
parent 83f86f30f5
commit 2efa3dbb2c

View file

@ -1,7 +1,7 @@
# Template file for 'puzzles'
pkgname=puzzles
version=20190415.e2135d5
revision=1
revision=2
hostmakedepends="pkg-config perl"
makedepends="gtk+-devel"
short_desc="Simon Tatham's Portable Puzzle Collection"
@ -12,11 +12,11 @@ distfiles="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/${pkgname}-${vers
checksum=5309fc9d7c4b7b2fe2db4ea68654c5952c02d13bbe7d0a7caa0c285cf79de90a
do_build() {
sed -i 's/-Werror -ansi -pedantic//' mkfiles.pl
./mkfiles.pl
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-
make ${makejobs} -f Makefile.gtk prefix=/usr BINPREFIX=puzzles-
}
do_install() {