aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnome-system-tools
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-15 16:27:51 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-15 16:27:51 +0000
commit96484d604a340d4ce153d3b408c5fe9dc339460d (patch)
treeeff24d2486e48f970c1460640d13c8d6e83c7dd1 /sysutils/gnome-system-tools
parent31f504e3210c856fb41ed1a638d200dd9fcda190 (diff)
downloadports-96484d604a340d4ce153d3b408c5fe9dc339460d.tar.gz
ports-96484d604a340d4ce153d3b408c5fe9dc339460d.zip
Notes
Diffstat (limited to 'sysutils/gnome-system-tools')
-rw-r--r--sysutils/gnome-system-tools/Makefile1
-rw-r--r--sysutils/gnome-system-tools/files/patch-backends_xml.pl.in19
2 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile
index cee3df8a5fba..6d3799d618fc 100644
--- a/sysutils/gnome-system-tools/Makefile
+++ b/sysutils/gnome-system-tools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomesystemtools
PORTVERSION= 0.90.0
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-system-tools/0.90
diff --git a/sysutils/gnome-system-tools/files/patch-backends_xml.pl.in b/sysutils/gnome-system-tools/files/patch-backends_xml.pl.in
new file mode 100644
index 000000000000..7edd3edb1608
--- /dev/null
+++ b/sysutils/gnome-system-tools/files/patch-backends_xml.pl.in
@@ -0,0 +1,19 @@
+--- backends/xml.pl.in.orig Sun Aug 15 12:24:15 2004
++++ backends/xml.pl.in Sun Aug 15 12:24:58 2004
+@@ -37,12 +37,10 @@
+
+ use Text::ParseWords;
+
+-eval "use Encode";
+-$has_encode = ($@ eq "");
+-
+-if ($has_encode)
+-{
+- use Encode;
++$has_encode = 0;
++if (eval "require Encode") {
++ Encode->import( );
++ $has_encode = 1;
+ }
+
+ # --- XML print formatting --- #