aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-07-21 23:06:51 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-07-21 23:06:51 +0000
commit60431551ee74838b7688ffd11c5aa8556278d124 (patch)
tree840b27b373e2efbc79bbeaf8c24def0868d68608
parentbde60949c1a66cbb9e0eb2b7d0da5b57c2d8cb59 (diff)
downloadports-60431551ee74838b7688ffd11c5aa8556278d124.tar.gz
ports-60431551ee74838b7688ffd11c5aa8556278d124.zip
Add PAM support
Notes
Notes: svn path=/head/; revision=63343
-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