diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-01-10 12:28:20 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-01-10 12:28:20 +0000 |
commit | 242d41a6f0f736cee4d2f98fa9b1f9778af62026 (patch) | |
tree | fa44b06ae5910cd915369da1c99964e74a82fc58 /editors/openoffice.org-vcltesttool/files/Makefile.knobs | |
parent | 108ed945b5fd1f7884418dcd0064ab701ad1259e (diff) |
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
Notes
Notes:
svn path=/head/; revision=126046
Diffstat (limited to 'editors/openoffice.org-vcltesttool/files/Makefile.knobs')
-rw-r--r-- | editors/openoffice.org-vcltesttool/files/Makefile.knobs | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs new file mode 100644 index 000000000000..45d2ac960133 --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/Makefile.knobs @@ -0,0 +1,79 @@ +# Makefile for knobs +# Whom: Maho Nakata <maho@FreeBSD.org> +# $FreeBSD$ + +.if defined(WITHOUT_JAVA) +CONFIGURE_ARGS+= --disable-java +.else +CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant +.endif + +.if defined(WITHOUT_MOZILLA) +CONFIGURE_ARGS+= --disable-mozilla +.endif + +.if defined(WITH_CUPS) +LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base +CONFIGURE_ARGS+= --enable-cups +.endif + +.if defined(ALL_LOCALIZED_LANGS) +CONFIGURE_ARGS+= --with-lang="en-US ar ca cs da de el es et fi fr he hi-IN hu it ja ko pl pt pt-BR ru sk sl sv th tr zh-CN zh-TW" +#following langs still seem to be under development +#af bg cy eo eu gl kn-IN lt nb nl nn ns tn zu +.else +CONFIGURE_ARGS+= --with-lang=${LOCALIZED_LANG} +.endif + +.if defined(WITH_DEBUG) +.if ${WITH_DEBUG} == 2 +CONFIGURE_ARGS+= --enable-debug +.else +CONFIGURE_ARGS+= --enable-symbols +.endif +.endif + +pre-fetch: +.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000) + @${ECHO} + @${ECHO} "WARNING" + @${ECHO} "Your rtld seems to be old." + @${ECHO} "Please remake your rtld by:" + @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c" + @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c" + @${ECHO} "# make ; make depend ; make install" + @${ECHO} "AT YOUR OWN RISK!" +.endif + @${ECHO} "OPTIONS:" +.if !defined(WITH_DEBUG) + @${ECHO} + @${ECHO} "You can compile OOo with debug symbols with WITH_DEBUG=1" + @${ECHO} + @${ECHO} "If you set WITH_DEBUG=2, you add internal" + @${ECHO} "OOo debug support." +.endif +.if !defined(WITHOUT_MOZILLA) + @${ECHO} + @${ECHO} "You can compile OOo without Mozilla connectivity by" + @${ECHO} "make -DWITHOUT_MOZILLA" +.endif +.if !defined(WITHOUT_JAVA) + @${ECHO} + @${ECHO} "You can compile OOo without Java support by" + @${ECHO} "make -DWITHOUT_JAVA" +.endif +.if !defined(WITH_CUPS) + @${ECHO} + @${ECHO} "You can compile OOo with CUPS support by" + @${ECHO} "make -DWITH_CUPS" +.endif + @${ECHO} + @${ECHO} "NOTICE:" + @${ECHO} + @${ECHO} "To build OOo, you should have a lot" +.if defined(WITH_DEBUG) + @${ECHO} "of free diskspace (~ 8GB)." +.else + @${ECHO} "of free diskspace (~ 4GB)." +.endif + @${ECHO} "If you want SDK and/or solver, please type make sdk and/or make solver" |