pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libevent recognize builtin libevent 1.4.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecadc21b3ed2
branches:  trunk
changeset: 400814:ecadc21b3ed2
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Oct 27 21:02:26 2009 +0000

description:
recognize builtin libevent 1.4.11

diffstat:

 devel/libevent/builtin.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 1d04782eeb9c -r ecadc21b3ed2 devel/libevent/builtin.mk
--- a/devel/libevent/builtin.mk Tue Oct 27 20:50:18 2009 +0000
+++ b/devel/libevent/builtin.mk Tue Oct 27 21:02:26 2009 +0000
@@ -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 @@
     !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!=       \



Home | Main Index | Thread Index | Old Index