summaryrefslogtreecommitdiff
path: root/misc/openoffice2/Makefile.NetBSD
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice2/Makefile.NetBSD')
-rw-r--r--misc/openoffice2/Makefile.NetBSD23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/openoffice2/Makefile.NetBSD b/misc/openoffice2/Makefile.NetBSD
new file mode 100644
index 00000000000..fb0eee2d070
--- /dev/null
+++ b/misc/openoffice2/Makefile.NetBSD
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.NetBSD,v 1.1 2008/02/05 19:17:24 hira Exp $
+#
+
+# systray quickstarter is broken with mutex handling?
+CONFIGURE_ARGS+= --disable-systray
+
+# *.pc files are required, but these don't exist on NetBSD.
+.if defined(X11_TYPE) && !empty(X11_TYPE:Mnative)
+USE_BUILTIN.freetype2= no
+USE_BUILTIN.Xfixes= no
+USE_BUILTIN.Xrandr= no
+USE_BUILTIN.Xrender= no
+.endif
+
+.if ${MACHINE_ARCH} == "i386"
+#OPENOFFICE_DLLSUFFIX= bi
+OPENOFFICE_OUTPATH= unxbsdi3
+OPENOFFICE_SETFILE= NetBSDX86
+.elif ${MACHINE_ARCH} == "x86_64"
+#OPENOFFICE_DLLSUFFIX= bx
+OPENOFFICE_OUTPATH= unxbsdx3
+OPENOFFICE_SETFILE= NetBSDX86-64
+.endif