aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-05 07:20:22 +0800
committermbr <mbr@FreeBSD.org>2002-03-05 07:20:22 +0800
commite342f58c71f9029ce45ee32f94cd1c382b774c30 (patch)
treed4081a92847459e0f020e2e36fad3cb826cc0b13 /editors/openoffice
parent4022e371eba8a402ae9717e317bf3cbfd3e5092e (diff)
downloadfreebsd-ports-gnome-e342f58c71f9029ce45ee32f94cd1c382b774c30.tar.gz
freebsd-ports-gnome-e342f58c71f9029ce45ee32f94cd1c382b774c30.tar.zst
freebsd-ports-gnome-e342f58c71f9029ce45ee32f94cd1c382b774c30.zip
Fix the PATH issue. Add ${PREFIX}/bin and ${PREFIX}/sbin
Diffstat (limited to 'editors/openoffice')
-rw-r--r--editors/openoffice/files/patch-config_office+set_soenv.134
-rw-r--r--editors/openoffice/files/patch-set_soenv.134
2 files changed, 68 insertions, 0 deletions
diff --git a/editors/openoffice/files/patch-config_office+set_soenv.1 b/editors/openoffice/files/patch-config_office+set_soenv.1
new file mode 100644
index 000000000000..bcf91ac5f6aa
--- /dev/null
+++ b/editors/openoffice/files/patch-config_office+set_soenv.1
@@ -0,0 +1,34 @@
+--- set_soenv.1.orig Tue Nov 20 18:26:33 2001
++++ set_soenv.1 Tue Mar 5 00:12:09 2002
+@@ -954,7 +954,7 @@
+ $ps.$USR.$LIB.
+ $ps.$USR_LOCAL.$BIN;
+ }
+-elsif (($platform eq "$Linux") or ($platform eq "$FreeBSD") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
++elsif (($platform eq "$Linux") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
+ { $PATH = $cur_dir.
+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
+ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
+@@ -968,6 +968,22 @@
+ $ps.$USR.$BIN.$ds."X11".
+ $ps.$USR.$LIB;
+ }
++elsif ($platform eq "$FreeBSD")
++{ $PATH = $cur_dir.
++ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
++ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
++ $ps.'$SOLARENV'.$BIN.
++ $ps.'$JAVA_HOME'.$BIN.
++ $ps.$USR_LOCAL.$BIN.
++ $ps.$USR_LOCAL.$ds."sbin";
++
++ $PATH .= GetCorrectPath($COMPATH, $PERL_PATH, $TCSH_PATH, $compiler);
++
++ $PATH .= $ps.$USR.$ds."sbin".
++ $ps.$USR.$BIN.$ds."X11".
++ $ps.$USR.$LIB;
++}
++
+ elsif ($platform eq "$Winnt")
+ { $COMPATH_ROOT = $COMPATH;
+ $COMPATH_ROOT =~ s/\/vc98$//;
diff --git a/editors/openoffice/files/patch-set_soenv.1 b/editors/openoffice/files/patch-set_soenv.1
new file mode 100644
index 000000000000..bcf91ac5f6aa
--- /dev/null
+++ b/editors/openoffice/files/patch-set_soenv.1
@@ -0,0 +1,34 @@
+--- set_soenv.1.orig Tue Nov 20 18:26:33 2001
++++ set_soenv.1 Tue Mar 5 00:12:09 2002
+@@ -954,7 +954,7 @@
+ $ps.$USR.$LIB.
+ $ps.$USR_LOCAL.$BIN;
+ }
+-elsif (($platform eq "$Linux") or ($platform eq "$FreeBSD") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
++elsif (($platform eq "$Linux") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
+ { $PATH = $cur_dir.
+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
+ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
+@@ -968,6 +968,22 @@
+ $ps.$USR.$BIN.$ds."X11".
+ $ps.$USR.$LIB;
+ }
++elsif ($platform eq "$FreeBSD")
++{ $PATH = $cur_dir.
++ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
++ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
++ $ps.'$SOLARENV'.$BIN.
++ $ps.'$JAVA_HOME'.$BIN.
++ $ps.$USR_LOCAL.$BIN.
++ $ps.$USR_LOCAL.$ds."sbin";
++
++ $PATH .= GetCorrectPath($COMPATH, $PERL_PATH, $TCSH_PATH, $compiler);
++
++ $PATH .= $ps.$USR.$ds."sbin".
++ $ps.$USR.$BIN.$ds."X11".
++ $ps.$USR.$LIB;
++}
++
+ elsif ($platform eq "$Winnt")
+ { $COMPATH_ROOT = $COMPATH;
+ $COMPATH_ROOT =~ s/\/vc98$//;