aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2010-01-19 12:24:38 +0800
committervanilla <vanilla@FreeBSD.org>2010-01-19 12:24:38 +0800
commit34252ffcc1b60f6f1a3a1f12e6530a8cb47062dd (patch)
tree9eb02ed625be3beab2ebb1d83ae704a376cda61a /databases
parent73f9e41b981e5074e3720cfc5a5360e71a0f0556 (diff)
downloadfreebsd-ports-graphics-34252ffcc1b60f6f1a3a1f12e6530a8cb47062dd.tar.gz
freebsd-ports-graphics-34252ffcc1b60f6f1a3a1f12e6530a8cb47062dd.tar.zst
freebsd-ports-graphics-34252ffcc1b60f6f1a3a1f12e6530a8cb47062dd.zip
do not build memslap, it's not required by normal usege.
Diffstat (limited to 'databases')
-rw-r--r--databases/libmemcached/Makefile6
-rw-r--r--databases/libmemcached/files/patch-configure30
-rw-r--r--databases/libmemcached/pkg-plist1
3 files changed, 29 insertions, 8 deletions
diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile
index ed3387e3ffa..0dc920905c1 100644
--- a/databases/libmemcached/Makefile
+++ b/databases/libmemcached/Makefile
@@ -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|' \
diff --git a/databases/libmemcached/files/patch-configure b/databases/libmemcached/files/patch-configure
index dc9abf6967b..c4f2e341429 100644
--- a/databases/libmemcached/files/patch-configure
+++ b/databases/libmemcached/files/patch-configure
@@ -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=
diff --git a/databases/libmemcached/pkg-plist b/databases/libmemcached/pkg-plist
index 039ac3c7333..f0939e81eef 100644
--- a/databases/libmemcached/pkg-plist
+++ b/databases/libmemcached/pkg-plist
@@ -5,7 +5,6 @@ bin/memdump
bin/memerror
bin/memflush
bin/memrm
-bin/memslap
bin/memstat
include/libhashkit/algorithm.h
include/libhashkit/behavior.h