summaryrefslogtreecommitdiff
path: root/devel/libevent
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-10-27 21:02:26 +0000
committerdrochner <drochner@pkgsrc.org>2009-10-27 21:02:26 +0000
commit8c6e6f478f12f443f16f91a12ecdab6fcb334461 (patch)
tree9ecf9b6db96414f8b94e0bc40297dbcdc27591d9 /devel/libevent
parent82c589a93bfa5496901a0f02333259ade211f702 (diff)
downloadpkgsrc-8c6e6f478f12f443f16f91a12ecdab6fcb334461.tar.gz
recognize builtin libevent 1.4.11
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/builtin.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libevent/builtin.mk b/devel/libevent/builtin.mk
index 517985fe061..396ce41a8f2 100644
--- a/devel/libevent/builtin.mk
+++ b/devel/libevent/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.8 2009/08/18 17:14:55 drochner Exp $
+# $NetBSD: builtin.mk,v 1.9 2009/10/27 21:02:26 drochner Exp $
BUILTIN_PKG:= libevent
@@ -28,7 +28,13 @@ MAKEVARS+= IS_BUILTIN.libevent
!empty(IS_BUILTIN.libevent:M[yY][eE][sS]) && \
empty(H_LIBEVENT:M__nonexistent__)
.if empty(H_LIBEVENTCONFIG:M__nonexistent__)
+_BLTN_EVENT_1_4_11!= \
+ ${GREP} -c 1.4.11-stable ${H_LIBEVENTCONFIG} || ${TRUE}
+. if ${_BLTN_EVENT_1_4_11} == "1"
+BUILTIN_VERSION.libevent= 1.4.11
+. else
BUILTIN_VERSION.libevent= 1.4.4
+. endif
.else
# libevent>=1.3: bufferevent_base_set added
_BLTN_EVENT_13!= \