diff options
Diffstat (limited to 'extra/p5-tk')
-rw-r--r-- | extra/p5-tk/Pkgfile | 9 |
1 files changed, 8 insertions, 1 deletions
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 |