xdaliclock: fix cross-build.
This commit is contained in:
parent
c6c88fb5ec
commit
eead8f54a0
@ -1,7 +1,7 @@
|
||||
# Template file for 'xdaliclock'
|
||||
pkgname=xdaliclock
|
||||
version=2.42
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=$pkgname-$version/X11
|
||||
build_style=gnu-configure
|
||||
makedepends="libXext-devel libXt-devel"
|
||||
@ -11,8 +11,13 @@ license="MIT/X11"
|
||||
homepage="http://www.jwz.org/xdaliclock/"
|
||||
distfiles="http://www.jwz.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=2e2aa266cbc3482e3fcf272c5f38004e583bb6871e717b6e07f2042078e7c9cd
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i -e '/a trivial ANSI C/,+10s/ { (exit 1); exit 1; };//' \
|
||||
-e '/INCLUDES=/s/.*/:/' \
|
||||
-e '/LDFLAGS=/s/.*/:/' \
|
||||
configure
|
||||
}
|
||||
do_install() {
|
||||
vbin xdaliclock
|
||||
vman xdaliclock.man xdaliclock.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user