From ca5e56d4e7036e3f516144f0f36887e5039e2702 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 22 Jan 2011 17:45:24 +0100 Subject: p5-tk, correction port 804.029-2 --- extra/p5-tk/Pkgfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/p5-tk/Pkgfile b/extra/p5-tk/Pkgfile index 67b4ac25f..de93b19f0 100644 --- a/extra/p5-tk/Pkgfile +++ b/extra/p5-tk/Pkgfile @@ -7,11 +7,18 @@ name=p5-tk version=804.029 -release=1 +release=2 source=(http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-$version.tar.gz) build() { + unset MAKEFLAGS cd Tk-$version + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + /bin/chmod -R u+w * + # The Xlib header is wrong... + sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h + perl Makefile.PL make OPTIMIZE="${CFLAGS}" make DESTDIR=$PKG install -- cgit v1.2.3-70-g09d2