ports/167346: [PATCH] editors/libreoffice: optionize pgsql

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Apr 26 21:10:10 UTC 2012


>Number:         167346
>Category:       ports
>Synopsis:       [PATCH] editors/libreoffice: optionize pgsql
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 21:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>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 at 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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list