perl-Tk: hacks to make it build.

This commit is contained in:
Christian Neukirchen 2016-08-29 18:34:10 +02:00
parent 8bb36131a3
commit 31f169b0a8
1 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'perl-Tk'
pkgname=perl-Tk
version=804.033
revision=1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=perl-module
configure_args="X11INC=/usr/include"
hostmakedepends="perl libX11-devel libpng-devel libjpeg-turbo-devel"
makedepends="${hostmakedepends}"
short_desc='Tk graphical interface for Perl'
@ -13,3 +14,7 @@ license="GPL-1, Artistic"
distfiles="$CPAN_SITE/Tk/Tk-${version}.tar.gz"
checksum=84756e9b07a2555c8eecf88e63d5cbbba9b1aa97b1e71a3d4aa524a7995a88ad
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/21051/steps/shell_3/logs/stdio"
post_configure() {
sed -i 's,X11/Xproto.h,,; s,X11/Xutil.h,,' pTk/Makefile
}