From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 18 15:30:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF08DA6D for ; Tue, 18 Feb 2014 15:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0441243 for ; Tue, 18 Feb 2014 15:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1IFU1HH088891 for ; Tue, 18 Feb 2014 15:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1IFU1HP088890; Tue, 18 Feb 2014 15:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 18 Feb 2014 15:30:01 GMT Resent-Message-Id: <201402181530.s1IFU1HP088890@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alan Hicks Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18F5340C for ; Tue, 18 Feb 2014 15:21:58 +0000 (UTC) Received: from avasout05.plus.net (avasout05.plus.net [84.93.230.250]) by mx1.freebsd.org (Postfix) with ESMTP id A08BF11D3 for ; Tue, 18 Feb 2014 15:21:57 +0000 (UTC) Received: from mail.p-o.co.uk ([80.229.143.200]) by avasout05 with smtp id TrMK1n0054Ke75s01rMn9r; Tue, 18 Feb 2014 15:21:55 +0000 Received: from alan by p-o.co.uk with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WFmT7-000Okw-QQ for FreeBSD-gnats-submit@freebsd.org; Tue, 18 Feb 2014 15:20:21 +0000 Message-Id: Date: Tue, 18 Feb 2014 15:20:21 +0000 From: Alan Hicks To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186871: [Maintainer update] Adds new lib_depends etc to mail/dbmail22 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Alan Hicks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 15:30:01 -0000 >Number: 186871 >Category: ports >Synopsis: [Maintainer update] Adds new lib_depends etc to mail/dbmail22 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 18 15:30:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Alan Hicks >Release: FreeBSD 9.2-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD schnittke.p-o.co.uk 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 02:38:15 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Updates mail/dbmail22 to new LIB_DEPENDS, uses=gmake, OPTIONS_SUB and OPT_CONFIGURE >How-To-Repeat: n/a >Fix: Apply attached patch --- dbmail22-20140218.diff begins here --- diff -uNr dbmail22/Makefile dbmail22/Makefile --- dbmail22/Makefile 2013-11-15 10:44:06.000000000 +0000 +++ dbmail22/Makefile 2014-02-18 14:11:07.000000000 +0000 @@ -12,7 +12,7 @@ LICENSE= GPLv2 -LIB_DEPENDS= gmime-2.0:${PORTSDIR}/mail/gmime2 +LIB_DEPENDS= libgmime-2.0.so:${PORTSDIR}/mail/gmime2 CONFLICTS= dbmail-3.* @@ -22,14 +22,29 @@ OPTIONS_MULTI_DB=MYSQL PGSQL SQLITE SIEVE_DESC= Support for Sieve mail sorting language +OPTIONS_SUB= yes + +MYSQL_USE= mysql=yes +MYSQL_CONFIGURE_ON= --with-mysql +MYSQL_CONFIGURE_OFF= --without-mysql +SQLITE_USE= sqlite=3 +SQLITE_CONFIGURE_ON= --with-sqlite +SQLITE_CONFIGURE_OFF= --without-sqlite +PGSQL_USE= pgsql=yes +PGSQL_CONFIGURE_ON= --with-postgresql +PGSQL_CONFIGURE_OFF= --without-postgresql +SIEVE_CONFIGURE_WITH= sieve +SIEVE_LIB_DEPENDS= libsieve.so:${PORTSDIR}/mail/libsieve +LDAP_CONFIGURE_WITH= ldap +LDAP_USE= OPENLDAP=yes + LATEST_LINK= dbmail22 USE_AUTOTOOLS= libtool -USE_GMAKE= yes USE_LDCONFIG= ${PREFIX}/lib/dbmail USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved USE_GNOME= glib20 USE_OPENSSL= yes -USES= pkgconfig +USES= gmake pkgconfig CFLAGS+= -fPIC -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} @@ -54,46 +69,15 @@ .include .if ${PORT_OPTIONS:MMYSQL} -CONFIGURE_ARGS+=--with-mysql -USE_MYSQL= yes DATABASE+= mysql -PLIST_SUB+= MYSQL="" -.else -PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} -CONFIGURE_ARGS+=--with-pgsql -USE_PGSQL= yes DATABASE+= postgresql -PLIST_SUB+= PGSQL="" -.else -PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MSQLITE} -CONFIGURE_ARGS+=--with-sqlite -USE_SQLITE= yes DATABASE+= sqlite -PLIST_SUB+= SQLITE="" -.else -PLIST_SUB+= SQLITE="@comment " -.endif - -.if ${PORT_OPTIONS:MSIEVE} -CONFIGURE_ARGS+=--with-sieve=${LOCALBASE}/include -LIB_DEPENDS+= sieve:${PORTSDIR}/mail/libsieve -PLIST_SUB+= SIEVE="" -.else -PLIST_SUB+= SIEVE="@comment " -.endif - -.if ${PORT_OPTIONS:MLDAP} -CONFIGURE_ARGS+=--with-auth-ldap=${LOCALBASE}/include -USE_OPENLDAP= yes -PLIST_SUB+= LDAP="" -.else -PLIST_SUB+= LDAP="@comment " .endif post-patch: --- dbmail22-20140218.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: