libreoffice and KDE3
Mikhail T.
mi+thun at aldan.algebra.com
Sat Sep 24 06:14:52 UTC 2011
Hello!
The attached patch adds KDE3 as a config-option (and picks two minor
nits). Please, commit or allow me to. Thank you! Yours,
-mi
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/libreoffice/Makefile,v
retrieving revision 1.31
diff -U 2 -r1.31 Makefile
--- Makefile 23 Sep 2011 22:22:20 -0000 1.31
+++ Makefile 24 Sep 2011 05:44:44 -0000
@@ -101,5 +101,4 @@
cups.2:${PORTSDIR}/print/cups-client
-
# dmake can't be used from ports
@@ -129,10 +128,11 @@
OPTIONS= WEBDAV "Support webdav protocol" off \
- KDE4 "With Qt4/KDE4 vclplug support" off \
+ KDE3 "With KDE3 support (conflicts with KDE4)" off \
+ KDE4 "With Qt4/KDE4 vclplug support (not KDE3)" off \
GTK "With GTK vclplug support" on \
GNOME "Better integration in gnome environnement" off \
JAVA "Add Java support (XML Filters, macros)" off \
PYUNO "Allow to script libreoffice in python" off \
- SYSTRAY "Enable systemtry quickstarter" off \
+ SYSTRAY "Enable systemtray quickstarter" off \
MMEDIA "Enable multimedia backend for impress" off \
SDK "Build with SDK" off \
@@ -183,5 +183,4 @@
--disable-build-mozilla \
--without-system-mozilla \
- --disable-kde \
--without-stlport \
--disable-nss-module \
@@ -258,4 +257,13 @@
.endif
+.if defined(WITH_KDE4) && defined(WITH_KDE3)
+.error Only one of the KDE3 and KDE4 can be turned on
+.endif
+.if defined(WITH_KDE3)
+USE_KDELIBS_VER=3
+CONFIGURE_ARGS+= --enable-kde
+.else
+CONFIGURE_ARGS+= --disable-kde
+.endif
.if defined(WITH_KDE4)
USE_KDE4= kdelibs
More information about the freebsd-office
mailing list