aboutsummaryrefslogtreecommitdiff
path: root/editors/zim
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2010-02-07 07:29:25 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2010-02-07 07:29:25 +0000
commit015afc3c74edcba95aa4ec7b7b1ef9c99fe513b3 (patch)
treec7081f79bd16521e98b23f5e48ddf21c8e0b8962 /editors/zim
parentc79606413ff4c73007c2ed657153f55989a437ad (diff)
downloadports-015afc3c74edcba95aa4ec7b7b1ef9c99fe513b3.tar.gz
ports-015afc3c74edcba95aa4ec7b7b1ef9c99fe513b3.zip
- Unbreak with perl5.10 by removing 'require 5.8.0' line.
- I'm not sure why this version requirement in Build.PL failed. But our minimal perl version is 5.8.9 now, so we can omit this check. Approved by: pav (implicit)
Notes
Notes: svn path=/head/; revision=249354
Diffstat (limited to 'editors/zim')
-rw-r--r--editors/zim/Makefile4
-rw-r--r--editors/zim/files/patch-Build.PL10
-rw-r--r--editors/zim/pkg-plist2
3 files changed, 12 insertions, 4 deletions
diff --git a/editors/zim/Makefile b/editors/zim/Makefile
index a10872161b14..fbfac48557e0 100644
--- a/editors/zim/Makefile
+++ b/editors/zim/Makefile
@@ -76,10 +76,6 @@ OPTIONS= TRAYICON "Support trayicon" on \
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} >= 501000
-BROKEN= does not build
-.endif
-
.if !defined(WITHOUT_TRAYICON)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Gtk2/TrayIcon.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2-TrayIcon
.endif
diff --git a/editors/zim/files/patch-Build.PL b/editors/zim/files/patch-Build.PL
new file mode 100644
index 000000000000..90f280ea95ea
--- /dev/null
+++ b/editors/zim/files/patch-Build.PL
@@ -0,0 +1,10 @@
+--- Build.PL.orig 2010-02-06 19:56:18.143663089 +0900
++++ Build.PL 2010-02-06 19:56:30.643953463 +0900
+@@ -337,7 +337,6 @@
+ script_files => ['bin/zim'],
+ data_files => { share => 'share' },
+ requires => {
+- 'perl' => '5.8.0',
+ 'Gtk2' => '1.040',
+ # Older doesn't support Gtk2::UIManager I think
+ 'POSIX' => 0,
diff --git a/editors/zim/pkg-plist b/editors/zim/pkg-plist
index 3d97b8ae95e5..a167b363cc55 100644
--- a/editors/zim/pkg-plist
+++ b/editors/zim/pkg-plist
@@ -1,4 +1,5 @@
bin/zim
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Zim/.packlist
%%SITE_PERL%%/Gtk2/Ex/HyperTextBuffer.pm
%%SITE_PERL%%/Gtk2/Ex/HyperTextView.pm
%%SITE_PERL%%/Gtk2/Ex/DesktopEntryMenu.pm
@@ -180,3 +181,4 @@ share/mime/application/x-gjots.xml
@dirrm %%SITE_PERL%%/Zim
@dirrmtry %%SITE_PERL%%/Gtk2/Ex
@dirrmtry %%SITE_PERL%%/Gtk2
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Zim