1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Switch to libevent2

- Bump PORTREVISION
- Pet portlint

PR:		ports/182446
Submitted by:	"Mikhail T." <m.tsatsenko@gmail.com> (maintainer)
This commit is contained in:
Steve Wills 2013-11-14 19:38:40 +00:00
parent c39fd711ec
commit 0f05e04d01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333785
2 changed files with 17 additions and 2 deletions

View File

@ -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 @@ COMMENT= Lightweight connection pooler for PostgreSQL
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 @@ MAN1= pgbouncer.1
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}

View File

@ -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