Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 09:33:45 +0100 (CET)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ume@FreeBSD.org
Subject:   ports/60606: Add postgresql support to cyrus-sasl2
Message-ID:  <20031227083345.DF9574AA389@plouf.absolight.net>
Resent-Message-ID: <200312270840.hBR8e9SG041611@freefall.freebsd.org>

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

>Number:         60606
>Category:       ports
>Synopsis:       Add postgresql support to cyrus-sasl2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 27 00:40:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD plouf.absolight.net 4.9-RELEASE FreeBSD 4.9-RELEASE #3: Tue Nov 4 16:14:47 CET 2003 root@plouf.absolight.net:/usr/obj/usr/src/sys/PLOUF i386

>Description:
Adds postgresql support to cyrus-sasl2's sql backend.
>How-To-Repeat:
>Fix:

--- cyrus-sasl2-pgsql.patch begins here ---
--- Makefile~	Fri Dec 19 18:40:04 2003
+++ Makefile	Sat Dec 27 09:31:48 2003
@@ -81,7 +81,17 @@
 .endif
 .if defined(WITH_MYSQL)
 USE_MYSQL=	YES
-CONFIGURE_ARGS+=--enable-sql --with-mysql=${PREFIX}
+CONFIGURE_ARGS+=--with-mysql=${PREFIX}
+.endif
+
+.if defined(WITH_PGSQL)
+POSTGRESQL_PORT?=	databases/postgresql-client
+LIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+CONFIGURE_ARGS+=--with-pgsql=${PREFIX}
+.endif
+
+.if defined(WITH_MYSQL) || defined(WITH_PGSQL)
+CONFIGURE_ARGS+=--enable-sql
 .else
 SQL=	"@comment "
 .endif
--- cyrus-sasl2-pgsql.patch ends here ---


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



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