Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 01:01:47 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        office@FreeBSD.org
Subject:   [PATCH] editors/libreoffice: optionize pgsql
Message-ID:  <20120426210147.6ED2A526@hades.panopticon>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] editors/libreoffice: optionize pgsql
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 9.0-RELEASE amd64
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 10 01:33:18 MSK 2012
>Description:
Make postgres support optional

Port maintainer (office@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- libreoffice-3.5.2_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/editors/libreoffice/Makefile,v
retrieving revision 1.41
diff -u -u -r1.41 Makefile
--- Makefile	26 Apr 2012 14:55:09 -0000	1.41
+++ Makefile	26 Apr 2012 21:01:07 -0000
@@ -92,7 +92,6 @@
 USE_OPENSSL=	yes
 WANT_GNOME=	yes
 WANT_PGSQL_VER=	90+
-USE_PGSQL=	yes
 
 USE_XORG=	xaw xrandr
 USE_GL=		gl glu
@@ -109,7 +108,8 @@
 		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" off
 
 CONFIGURE_ENV=		GPERF=${LOCALBASE}/bin/gperf \
 			DMAKE=${LOCALBASE}/bin/dmake \
@@ -290,6 +290,12 @@
 CONFIGURE_ARGS+=	--disable-gconf --disable-lockdown
 .endif
 
+.if defined(WITH_PGSQL)
+USE_PGSQL=	yes
+.else
+CONFIGURE_ARGS+=	--disable-postgresql-sdbc
+.endif
+
 .if defined(WITH_JAVA)
 #additionnal distfiles needed for java
 DISTFILES+=	798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:GoOOSrc \
--- libreoffice-3.5.2_2.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120426210147.6ED2A526>