diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-06 23:44:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-06 23:44:41 +0000 |
commit | a06e7eed1c32dd6fe4c014540df8231c6dbb4c26 (patch) | |
tree | 2e945e8bcb4b0ebcb10183e51cde6315be173a0a /editors | |
parent | 99705eece8d8d0c0fbd6a75266d1e60af0076928 (diff) |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/libreoffice/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index b561a6782735..abc8f6b03c1a 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -91,8 +91,6 @@ USE_GMAKE= yes USE_BISON= build USE_OPENSSL= yes WANT_GNOME= yes -WANT_PGSQL_VER= 90+ -USE_PGSQL= yes USE_XORG= xaw xrandr USE_GL= gl glu @@ -109,7 +107,8 @@ OPTIONS= WEBDAV "Support webdav protocol" off \ MMEDIA "Enable multimedia backend for impress" off \ SDK "Build with SDK" off \ SVG "Enable SVG support" on \ - DEBUG "Build with debug symbols and verbose output" off + DEBUG "Build with debug symbols and verbose output" off \ + PGSQL "Build with PostgreSQL-SDBC driver" on CONFIGURE_ENV= GPERF=${LOCALBASE}/bin/gperf \ DMAKE=${LOCALBASE}/bin/dmake \ @@ -238,6 +237,12 @@ MAKE_ENV+= USE_GMAKE=1 DESTDIR=${LODESTDIR} CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/db${BDB_VER} +.if defined(WITH_PGSQL) +USE_PGSQL= yes +WANT_PGSQL_VER= 90+ +.else +CONFIGURE_ARGS+= --disable-postgresql-sdbc +.endif .if defined(WITHOUT_SYSTRAY) CONFIGURE_ARGS+= --disable-systray .endif |