aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-22 07:06:51 +0800
committermbr <mbr@FreeBSD.org>2002-07-22 07:06:51 +0800
commitce81c4a8e6e2fd58582a33277742056e6c515e67 (patch)
tree35697942f4c16f6d49c980e4d7822d330b106b46
parent7f2868db239bb2b3241edfd15cfa56a1257d9eda (diff)
downloadfreebsd-ports-gnome-ce81c4a8e6e2fd58582a33277742056e6c515e67.tar.gz
freebsd-ports-gnome-ce81c4a8e6e2fd58582a33277742056e6c515e67.tar.zst
freebsd-ports-gnome-ce81c4a8e6e2fd58582a33277742056e6c515e67.zip
Add PAM support
-rw-r--r--editors/openoffice-1.0/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-1.0/files/patch-idl::util::makefile.mk11
-rw-r--r--editors/openoffice-1.0/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-1.0/files/patch-sal::osl::unx::security.c11
-rw-r--r--editors/openoffice-1.0/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-1.0/files/patch-setup2::patch::makefile.mk11
-rw-r--r--editors/openoffice-1.1-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-1.1-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-1.1-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-1.1/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-1.1/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-1.1/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-2.0-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-2.0-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-2.0-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-3-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-3-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-3-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-3/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-3/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-3/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-1.0/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-1.0/files/patch-idl::util::makefile.mk11
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal::osl::unx::security.c11
-rw-r--r--editors/openoffice.org-1.0/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-1.0/files/patch-setup2::patch::makefile.mk11
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-1.1/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-1.1/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-1.1/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-2-RC/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-2-RC/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-2-RC/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-2-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-2-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-2-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-2.0/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-2.0/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-2.0/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-2/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-2/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-2/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-3-RC/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-3-RC/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-3-RC/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-3-devel/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-3-devel/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-3-devel/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-3/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-3/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-3/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice/files/patch-idl+util+makefile.mk11
-rw-r--r--editors/openoffice/files/patch-idl::util::makefile.mk11
-rw-r--r--editors/openoffice/files/patch-sal+osl+unx+security.c11
-rw-r--r--editors/openoffice/files/patch-sal::osl::unx::security.c11
-rw-r--r--editors/openoffice/files/patch-setup2+patch+makefile.mk11
-rw-r--r--editors/openoffice/files/patch-setup2::patch::makefile.mk11
69 files changed, 759 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-idl+util+makefile.mk b/editors/openoffice-1.0/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-1.0/files/patch-idl::util::makefile.mk b/editors/openoffice-1.0/files/patch-idl::util::makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-idl::util::makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+security.c b/editors/openoffice-1.0/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-1.0/files/patch-sal::osl::unx::security.c b/editors/openoffice-1.0/files/patch-sal::osl::unx::security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-sal::osl::unx::security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-1.0/files/patch-setup2+patch+makefile.mk b/editors/openoffice-1.0/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-1.0/files/patch-setup2::patch::makefile.mk b/editors/openoffice-1.0/files/patch-setup2::patch::makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-setup2::patch::makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-1.1-devel/files/patch-idl+util+makefile.mk b/editors/openoffice-1.1-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-1.1-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice-1.1-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-1.1/files/patch-idl+util+makefile.mk b/editors/openoffice-1.1/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-1.1/files/patch-sal+osl+unx+security.c b/editors/openoffice-1.1/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-1.1/files/patch-setup2+patch+makefile.mk b/editors/openoffice-1.1/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-2.0-devel/files/patch-idl+util+makefile.mk b/editors/openoffice-2.0-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-2.0-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice-2.0-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-3-devel/files/patch-idl+util+makefile.mk b/editors/openoffice-3-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-3-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice-3-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-3-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice-3-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-3/files/patch-idl+util+makefile.mk b/editors/openoffice-3/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-3/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-3/files/patch-sal+osl+unx+security.c b/editors/openoffice-3/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-3/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-3/files/patch-setup2+patch+makefile.mk b/editors/openoffice-3/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-3/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice-devel/files/patch-idl+util+makefile.mk b/editors/openoffice-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-1.0/files/patch-idl+util+makefile.mk b/editors/openoffice.org-1.0/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-1.0/files/patch-idl::util::makefile.mk b/editors/openoffice.org-1.0/files/patch-idl::util::makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-idl::util::makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-1.0/files/patch-sal::osl::unx::security.c b/editors/openoffice.org-1.0/files/patch-sal::osl::unx::security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-sal::osl::unx::security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-1.0/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-1.0/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-1.0/files/patch-setup2::patch::makefile.mk b/editors/openoffice.org-1.0/files/patch-setup2::patch::makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-setup2::patch::makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-1.1-devel/files/patch-idl+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-1.1/files/patch-idl+util+makefile.mk b/editors/openoffice.org-1.1/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-1.1/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-1.1/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-1.1/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-1.1/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-2-RC/files/patch-idl+util+makefile.mk b/editors/openoffice.org-2-RC/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-2-RC/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-2-RC/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-2-devel/files/patch-idl+util+makefile.mk b/editors/openoffice.org-2-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-2-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-2-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-2.0-devel/files/patch-idl+util+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-2.0/files/patch-idl+util+makefile.mk b/editors/openoffice.org-2.0/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-2.0/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-2.0/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-2.0/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-2.0/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-2/files/patch-idl+util+makefile.mk b/editors/openoffice.org-2/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-2/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-2/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-2/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-2/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-3-RC/files/patch-idl+util+makefile.mk b/editors/openoffice.org-3-RC/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-3-RC/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-3-RC/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-3-devel/files/patch-idl+util+makefile.mk b/editors/openoffice.org-3-devel/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-3-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-3-devel/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-3/files/patch-idl+util+makefile.mk b/editors/openoffice.org-3/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-3/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-3/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-3/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-3/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice.org-vcltesttool/files/patch-idl+util+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+security.c b/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice.org-vcltesttool/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice/files/patch-idl+util+makefile.mk b/editors/openoffice/files/patch-idl+util+makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice/files/patch-idl+util+makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice/files/patch-idl::util::makefile.mk b/editors/openoffice/files/patch-idl::util::makefile.mk
new file mode 100644
index 000000000000..2543593dd210
--- /dev/null
+++ b/editors/openoffice/files/patch-idl::util::makefile.mk
@@ -0,0 +1,11 @@
+--- ../idl/util/makefile.mk.orig Sun Jul 21 00:02:37 2002
++++ ../idl/util/makefile.mk Sun Jul 21 00:02:39 2002
+@@ -110,7 +110,7 @@
+ .ENDIF
+ .ENDIF
+
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ APP1STDLIBS+=-lcrypt
+ .ENDIF
+
diff --git a/editors/openoffice/files/patch-sal+osl+unx+security.c b/editors/openoffice/files/patch-sal+osl+unx+security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice/files/patch-sal+osl+unx+security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice/files/patch-sal::osl::unx::security.c b/editors/openoffice/files/patch-sal::osl::unx::security.c
new file mode 100644
index 000000000000..0cc321dcd544
--- /dev/null
+++ b/editors/openoffice/files/patch-sal::osl::unx::security.c
@@ -0,0 +1,11 @@
+--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
++++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
+@@ -739,7 +739,7 @@
+ }
+
+
+-#elif (LINUX && (GLIBC >= 2))
++#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
+
+ struct passwd *pPasswd;
+
diff --git a/editors/openoffice/files/patch-setup2+patch+makefile.mk b/editors/openoffice/files/patch-setup2+patch+makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice/files/patch-setup2+patch+makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE
diff --git a/editors/openoffice/files/patch-setup2::patch::makefile.mk b/editors/openoffice/files/patch-setup2::patch::makefile.mk
new file mode 100644
index 000000000000..53846a8bdfc9
--- /dev/null
+++ b/editors/openoffice/files/patch-setup2::patch::makefile.mk
@@ -0,0 +1,11 @@
+--- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002
++++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002
+@@ -92,7 +92,7 @@
+ .IF "$(OS)"=="SOLARIS"
+ STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4
+ .ENDIF
+-.IF "$(OS)"=="LINUX"
++.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+ STATIC_LIBS+= -Bdynamic -lcrypt
+ .ENDIF
+ .ELSE