From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 27 19:40:00 2013 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 ESMTP id 88D08296 for ; Fri, 27 Sep 2013 19:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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 68D2426AC for ; Fri, 27 Sep 2013 19:40:00 +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 r8RJe0wk067482 for ; Fri, 27 Sep 2013 19:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8RJe03A067481; Fri, 27 Sep 2013 19:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 27 Sep 2013 19:40:00 GMT Resent-Message-Id: <201309271940.r8RJe03A067481@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, "Mikhail T." Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 461F7214 for ; Fri, 27 Sep 2013 19:33:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 194F92677 for ; Fri, 27 Sep 2013 19:33:11 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8RJXAJb012804 for ; Fri, 27 Sep 2013 19:33:10 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8RJXAqJ012774; Fri, 27 Sep 2013 19:33:10 GMT (envelope-from nobody) Message-Id: <201309271933.r8RJXAqJ012774@oldred.freebsd.org> Date: Fri, 27 Sep 2013 19:33:10 GMT From: "Mikhail T." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182446: [maintainer] [patch] databases/pgbouncer : switch to libevent2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 19:40:00 -0000 >Number: 182446 >Category: ports >Synopsis: [maintainer] [patch] databases/pgbouncer : switch to libevent2 >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: Fri Sep 27 19:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mikhail T. >Release: >Organization: >Environment: >Description: - Switch to libevent2 - Bump PORTREVISION - Pet portlint Build logs: https://redports.org/~mtsatsenko/20130927151417-02046-147565/pgbouncer-1.5.4_1.log https://redports.org/~mtsatsenko/20130927151417-02046-147566/pgbouncer-1.5.4_1.log https://redports.org/~mtsatsenko/20130927151417-02046-147567/pgbouncer-1.5.4_1.log https://redports.org/~mtsatsenko/20130927151417-02046-147567/pgbouncer-1.5.4_1.log >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 328507) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= pgbouncer PORTVERSION= 1.5.4 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://pgfoundry.org/frs/download.php/3393/ @@ -11,7 +12,7 @@ LICENSE= BSD -LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent +LIB_DEPENDS= event-2:${PORTSDIR}/devel/libevent2 PORTSCOUT= site:http://pgfoundry.org/frs/?group_id=1000258 @@ -29,7 +30,7 @@ MAN5= pgbouncer.5 .endif -CONFIGURE_ARGS= --with-libevent=${LOCALBASE} +CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns CONFIGURE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ PTHREAD_LIBS=${PTHREAD_LIBS} Index: files/patch-configure =================================================================== --- files/patch-configure (revision 0) +++ files/patch-configure (working copy) @@ -0,0 +1,14 @@ +--- configure.orig 2012-11-28 17:11:13.000000000 +0400 ++++ configure 2013-09-25 23:54:23.465994180 +0400 +@@ -6332,8 +6332,8 @@ + levent=yes + else + levent=yes +- CPPFLAGS="$CPPFLAGS -I$withval/include" +- LDFLAGS="$LDFLAGS -L$withval/lib" ++ CPPFLAGS="$CPPFLAGS -I$withval/include -I$withval/include/event2/compat" ++ LDFLAGS="$LDFLAGS -L$withval/lib/event2" + fi + + fi + >Release-Note: >Audit-Trail: >Unformatted: