mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
cwm: unbreak and fix musl build.
This commit is contained in:
parent
6a36cd39eb
commit
0322b22db9
1 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'cwm
|
# Template file for 'cwm
|
||||||
pkgname=cwm
|
pkgname=cwm
|
||||||
version=5.6
|
version=5.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
|
||||||
hostmakedepends="pkg-config bison"
|
hostmakedepends="pkg-config bison"
|
||||||
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
|
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
|
||||||
short_desc="Lightweight and efficient window manager for X11"
|
short_desc="Lightweight and efficient window manager for X11"
|
||||||
|
@ -13,11 +12,13 @@ distfiles="https://github.com/chneukirchen/cwm/archive/v${version}.tar.gz"
|
||||||
checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625"
|
checksum="006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625"
|
||||||
replaces="cwm-git>=0"
|
replaces="cwm-git>=0"
|
||||||
|
|
||||||
pre_build() {
|
do_build() {
|
||||||
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
||||||
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
||||||
|
sed -i 's,WAIT_ANY,-1,g' *.c
|
||||||
|
make CC=$CC
|
||||||
}
|
}
|
||||||
|
do_install() {
|
||||||
post_install() {
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
vinstall README 644 usr/share/doc/cwm
|
vinstall README 644 usr/share/doc/cwm
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue