diff options
Diffstat (limited to 'extra/p5-tk/Pkgfile')
-rw-r--r-- | extra/p5-tk/Pkgfile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/extra/p5-tk/Pkgfile b/extra/p5-tk/Pkgfile index de93b19f0..f9fc4c428 100644 --- a/extra/p5-tk/Pkgfile +++ b/extra/p5-tk/Pkgfile @@ -7,19 +7,15 @@ name=p5-tk version=804.029 -release=2 +release=3 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 + perl Makefile.PL make OPTIMIZE="${CFLAGS}" make DESTDIR=$PKG install find $PKG \ |