mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
puzzles: the code may pass -pedantic, but glib surely doesn't.
This commit is contained in:
parent
83f86f30f5
commit
2efa3dbb2c
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'puzzles'
|
# Template file for 'puzzles'
|
||||||
pkgname=puzzles
|
pkgname=puzzles
|
||||||
version=20190415.e2135d5
|
version=20190415.e2135d5
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="pkg-config perl"
|
hostmakedepends="pkg-config perl"
|
||||||
makedepends="gtk+-devel"
|
makedepends="gtk+-devel"
|
||||||
short_desc="Simon Tatham's Portable Puzzle Collection"
|
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
|
checksum=5309fc9d7c4b7b2fe2db4ea68654c5952c02d13bbe7d0a7caa0c285cf79de90a
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
sed -i 's/-Werror -ansi -pedantic//' mkfiles.pl
|
||||||
./mkfiles.pl
|
./mkfiles.pl
|
||||||
echo "XLIBS += ${LDFLAGS}" >>Makefile.gtk
|
echo "XLIBS += ${LDFLAGS}" >>Makefile.gtk
|
||||||
echo "ULIBS += ${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() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue