summaryrefslogtreecommitdiff
path: root/devel/libevent
diff options
context:
space:
mode:
authorjmmv <jmmv>2011-04-23 21:17:28 +0000
committerjmmv <jmmv>2011-04-23 21:17:28 +0000
commit1ad17e769c0b7e695a4689cf4409f3ee93b7b2e2 (patch)
treee548d130dcd5ef37abb67a2fa21a343fc0142202 /devel/libevent
parenta763be371d6f99b57c65422fa2670bee7ce3ac50 (diff)
downloadpkgsrc-1ad17e769c0b7e695a4689cf4409f3ee93b7b2e2.tar.gz
Fix the interpreter of event_rpcgen.py to point to a known Python binary.
This requires a dependency on Python. Bump PKGREVISION to 1. This is probably not the best solution: I guess it'd be nice to have a libevent package that only included the binary libraries and no dependency on Python, and another libevent-dev package with the event_rpcgen.py binary and the Python dependency. But this can be done later; I want to just fix the breakage first.
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile
index a96b339b768..f4db4fa7c21 100644
--- a/devel/libevent/Makefile
+++ b/devel/libevent/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.36 2011/02/11 21:13:47 tnn Exp $
+# $NetBSD: Makefile,v 1.37 2011/04/23 21:17:28 jmmv Exp $
#
DISTNAME= libevent-2.0.10-stable
PKGNAME= ${DISTNAME:S/-stable//}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
@@ -24,6 +25,8 @@ PKGCONFIG_OVERRIDE+= libevent_openssl.pc.in
PKGCONFIG_OVERRIDE+= libevent_pthreads.pc.in
PKGCONFIG_OVERRIDE+= libevent.pc.in
+REPLACE_PYTHON= event_rpcgen.py
+
# XXX helps build, but needs more testing
#CFLAGS.Interix+= -Dsockaddr_storage=sockaddr_in -DNI_MAXSERV=32
@@ -34,5 +37,6 @@ CONFIGURE_ENV+= ac_cv_func_strtoll=yes
CPPFLAGS+= -Dstrtoll=__strtoll
.endif
+.include "../../lang/python/application.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"