diff options
author | Steve Wills <swills@FreeBSD.org> | 2013-11-14 19:38:40 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2013-11-14 19:38:40 +0000 |
commit | 0f05e04d01f4b8b0feab4ac94201fb3366461ee1 (patch) | |
tree | d85445e4f89884704f9878d89e515f145a71936e | |
parent | c39fd711ec1790bc84e6eb2bcfc67a0679a1bd4d (diff) |
Notes
-rw-r--r-- | databases/pgbouncer/Makefile | 5 | ||||
-rw-r--r-- | databases/pgbouncer/files/patch-configure | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile index 72ddded29ff9..d9772f190757 100644 --- a/databases/pgbouncer/Makefile +++ b/databases/pgbouncer/Makefile @@ -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} diff --git a/databases/pgbouncer/files/patch-configure b/databases/pgbouncer/files/patch-configure new file mode 100644 index 000000000000..ba1498148ea5 --- /dev/null +++ b/databases/pgbouncer/files/patch-configure @@ -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 + |