From amdmi3@amdmi3.ru  Thu Apr 26 21:01:49 2012
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AE25B106566C;
	Thu, 26 Apr 2012 21:01:49 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15])
	by mx1.freebsd.org (Postfix) with ESMTP id 619858FC1C;
	Thu, 26 Apr 2012 21:01:49 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	(Exim 4.76)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1SNVox-0002Ml-US; Fri, 27 Apr 2012 01:01:47 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 7A7C2B84D;
	Fri, 27 Apr 2012 01:01:47 +0400 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 6ED2A526; Fri, 27 Apr 2012 01:01:47 +0400 (MSK)
Message-Id: <20120426210147.6ED2A526@hades.panopticon>
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
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         167346
>Category:       ports
>Synopsis:       [PATCH] editors/libreoffice: optionize pgsql
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    office
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 21:10:09 UTC 2012
>Closed-Date:    Sun May 06 23:45:34 UTC 2012
>Last-Modified:  Sun May  6 23:50:08 UTC 2012
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->office 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Apr 26 21:10:18 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167346 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Sun May 6 23:45:33 UTC 2012 
State-Changed-Why:  
Committed, with minor changes, the option is default on to avoid a port 
revision bump. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167346 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/167346: commit references a PR
Date: Sun,  6 May 2012 23:44:52 +0000 (UTC)

 bapt        2012-05-06 23:44:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     editors/libreoffice  Makefile 
   Log:
   Add a PGSQL option to allow user to disable support for postgresql, keep
   postgresql on by default to avoid rebuilding on clusters
   
   PR:             ports/167346
   Submitted by:   amdmi3
   
   Revision  Changes    Path
   1.43      +8 -3      ports/editors/libreoffice/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
