aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zim
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2010-02-07 15:29:25 +0800
committerkuriyama <kuriyama@FreeBSD.org>2010-02-07 15:29:25 +0800
commit849e05f9ee43a1320d49286f9e5d72a58aac8de4 (patch)
tree7820695c06b5475eb045d705f67bd264a912f6a3 /editors/zim
parent3622dad35b376ebeb8c9258f21b222d59282c020 (diff)
downloadfreebsd-ports-gnome-849e05f9ee43a1320d49286f9e5d72a58aac8de4.tar.gz
freebsd-ports-gnome-849e05f9ee43a1320d49286f9e5d72a58aac8de4.tar.zst
freebsd-ports-gnome-849e05f9ee43a1320d49286f9e5d72a58aac8de4.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)
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