aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-31 18:39:51 +0800
committermbr <mbr@FreeBSD.org>2002-07-31 18:39:51 +0800
commit16cf0e0061051bb85b7a8e8f8292b3aeaf3f15cf (patch)
tree3b7a7c427737ddf8d62a6497c713ff6897b608dc /editors
parent19d1746bfc6c43b730c915aac6049cef06a8d2d4 (diff)
downloadfreebsd-ports-gnome-16cf0e0061051bb85b7a8e8f8292b3aeaf3f15cf.tar.gz
freebsd-ports-gnome-16cf0e0061051bb85b7a8e8f8292b3aeaf3f15cf.tar.zst
freebsd-ports-gnome-16cf0e0061051bb85b7a8e8f8292b3aeaf3f15cf.zip
Make this script work for FreeBSD.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-1.0/files/patch-solenv::bin::mapgen.pl21
-rw-r--r--editors/openoffice-1.1-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-1.1/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-2.0-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-3-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-3/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-1.0/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-1.0/files/patch-solenv::bin::mapgen.pl21
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-1.1/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-2-RC/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-2-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-2.0/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-2/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-3-RC/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-3-devel/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-3/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice/files/patch-solenv+bin+mapgen.pl21
-rw-r--r--editors/openoffice/files/patch-solenv::bin::mapgen.pl21
23 files changed, 483 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-1.0/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-1.0/files/patch-solenv::bin::mapgen.pl b/editors/openoffice-1.0/files/patch-solenv::bin::mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-solenv::bin::mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-1.1-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-1.1-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-1.1/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-1.1/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-2.0-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-2.0-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-3-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-3-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-3/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-3/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-3/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-1.0/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-1.0/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-1.0/files/patch-solenv::bin::mapgen.pl b/editors/openoffice.org-1.0/files/patch-solenv::bin::mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-solenv::bin::mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-1.1/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-1.1/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-2-RC/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-2-RC/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-2-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-2-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-2.0-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-2.0-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-2.0/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-2.0/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-2/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-2/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-3-RC/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-3-RC/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-3-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-3-devel/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-3/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-3/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice.org-vcltesttool/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-vcltesttool/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice/files/patch-solenv+bin+mapgen.pl b/editors/openoffice/files/patch-solenv+bin+mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice/files/patch-solenv+bin+mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };
diff --git a/editors/openoffice/files/patch-solenv::bin::mapgen.pl b/editors/openoffice/files/patch-solenv::bin::mapgen.pl
new file mode 100644
index 000000000000..71ebdb934120
--- /dev/null
+++ b/editors/openoffice/files/patch-solenv::bin::mapgen.pl
@@ -0,0 +1,21 @@
+--- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002
++++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002
+@@ -112,7 +112,7 @@
+
+ if ($ENV{OS} eq 'SOLARIS') {
+ &gen_sol;
+-} elsif ($ENV{OS} eq 'LINUX') {
++} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') {
+ &gen_lnx;
+ } else {
+ &print_error ('Environment not set!!');
+@@ -169,7 +169,8 @@
+ s/\n//;
+ $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
+ $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
+- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/)));
++ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
++ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/)));
+ next if (!$_ || /^#/);
+ push(@filters, $_);
+ };