ports/60606: Add postgresql support to cyrus-sasl2
Mathieu Arnold
mat at FreeBSD.org
Sat Dec 27 08:40:11 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list