do not build memslap, it's not required by normal usege.

This commit is contained in:
Vanilla I. Shu 2010-01-19 04:24:38 +00:00
parent ae4d8268ea
commit ac08b899f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248129
3 changed files with 29 additions and 8 deletions

View file

@ -7,20 +7,18 @@
PORTNAME= libmemcached
PORTVERSION= 0.37
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://download.tangent.org/
MAINTAINER= vanilla@FreeBSD.org
COMMENT= A C and C++ client library to the memcached server
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gnometarget pkgconfig
CONFIGURE_ARGS= --with-memcached=no
CONFIGURE_ARGS= --with-memcached=no --disable-libevent --without-libevent-prefix
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \

View file

@ -1,6 +1,6 @@
--- configure.orig 2010-01-07 11:15:40.000000000 +0800
+++ configure 2010-01-08 10:38:18.000000000 +0800
@@ -22430,7 +22430,7 @@ $as_echo "$ac_cv_safe_to_use_Wno_attribu
--- configure.orig 2010-01-12 08:22:27.000000000 +0800
+++ configure 2010-01-19 12:20:44.000000000 +0800
@@ -22431,7 +22431,7 @@ $as_echo "$ac_cv_safe_to_use_Wno_attribu
if test "$ac_cv_safe_to_use_Wno_attributes_" = "yes"; then
@ -9,3 +9,27 @@
NO_ATTRIBUTES="-Wno-attributes"
fi
@@ -24391,10 +24391,10 @@ fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_libevent" >&5
$as_echo "$ac_cv_libevent" >&6; }
if test "$ac_cv_libevent" = yes; then
- HAVE_LIBEVENT=yes
+ HAVE_LIBEVENT=no
cat >>confdefs.h <<\_ACEOF
-#define HAVE_LIBEVENT 1
+#define HAVE_LIBEVENT 0
_ACEOF
{ $as_echo "$as_me:$LINENO: checking how to link with libevent" >&5
@@ -24417,8 +24417,8 @@ $as_echo "$LIBEVENT" >&6; }
if test "x${ac_cv_libevent}" = "xyes"; then
- HAVE_LIBEVENT_TRUE=
- HAVE_LIBEVENT_FALSE='#'
+ HAVE_LIBEVENT_TRUE='#'
+ HAVE_LIBEVENT_FALSE=
else
HAVE_LIBEVENT_TRUE='#'
HAVE_LIBEVENT_FALSE=

View file

@ -5,7 +5,6 @@ bin/memdump
bin/memerror
bin/memflush
bin/memrm
bin/memslap
bin/memstat
include/libhashkit/algorithm.h
include/libhashkit/behavior.h