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.
This commit is contained in:
parent
b221861b8b
commit
d1d9827710
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue