diff options
author | drochner <drochner> | 2009-10-27 21:02:26 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-10-27 21:02:26 +0000 |
commit | 67a479e06e57602a2bca8fd00e10de2ef82e2edd (patch) | |
tree | 9ecf9b6db96414f8b94e0bc40297dbcdc27591d9 /devel | |
parent | 98656fa93fa1a10b0c483d359752c6fd6b2c607e (diff) | |
download | pkgsrc-67a479e06e57602a2bca8fd00e10de2ef82e2edd.tar.gz |
recognize builtin libevent 1.4.11
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libevent/builtin.mk | 8 |
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!= \ |