From b7321acd8e7aea5a4faa30cd0ca5e7de038d1a55 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 22 Jan 2011 18:02:51 +0100 Subject: p5-tk, correction port 804.029-3 --- extra/p5-tk/Pkgfile | 8 ++------ 1 file 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 \ -- cgit v1.2.3-70-g09d2