summaryrefslogtreecommitdiffstats
path: root/extra/p5-tk
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-22 17:45:24 +0100
committersibel <lesibel@free.fr>2011-01-22 17:45:24 +0100
commitca5e56d4e7036e3f516144f0f36887e5039e2702 (patch)
treea8d3f0394594808dd62488a24d5576973517187a /extra/p5-tk
parent2cbfc43967fb3d2bee59fd695448b98cc043204b (diff)
downloadnutyx-pakxe-ca5e56d4e7036e3f516144f0f36887e5039e2702.tar.gz
nutyx-pakxe-ca5e56d4e7036e3f516144f0f36887e5039e2702.tar.bz2
nutyx-pakxe-ca5e56d4e7036e3f516144f0f36887e5039e2702.tar.xz
nutyx-pakxe-ca5e56d4e7036e3f516144f0f36887e5039e2702.zip
p5-tk, correction port 804.029-2
Diffstat (limited to 'extra/p5-tk')
-rw-r--r--extra/p5-tk/Pkgfile9
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