aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2006-02-21 17:17:03 +0800
committerseanc <seanc@FreeBSD.org>2006-02-21 17:17:03 +0800
commit71d29b045de8e45d2804bf215bd759e4b5058c89 (patch)
treeda2af85dec191be6d18b5c722ca9781cbe4ee10e
parent9aca27b2b407830d5fd7b000dd5776468d5caa06 (diff)
downloadfreebsd-ports-gnome-71d29b045de8e45d2804bf215bd759e4b5058c89.tar.gz
freebsd-ports-gnome-71d29b045de8e45d2804bf215bd759e4b5058c89.tar.zst
freebsd-ports-gnome-71d29b045de8e45d2804bf215bd759e4b5058c89.zip
Update to 1.4.0rc2 and kill off the last vestages of the 1.2 series as well
as my former interest in pmk(1) as an auto* replacement.
-rw-r--r--databases/libmemcache/Makefile22
-rw-r--r--databases/libmemcache/distinfo6
-rw-r--r--databases/libmemcache/files/patch-pmkfile82
-rw-r--r--databases/libmemcache/pkg-plist6
4 files changed, 14 insertions, 102 deletions
diff --git a/databases/libmemcache/Makefile b/databases/libmemcache/Makefile
index 953f11869ba7..c6e4f7a09a0c 100644
--- a/databases/libmemcache/Makefile
+++ b/databases/libmemcache/Makefile
@@ -6,32 +6,24 @@
#
PORTNAME= libmemcache
-PORTVERSION= 1.2.3
-PORTREVISION= 1
+PORTVERSION= 1.4.0.rc2
CATEGORIES= databases
-MASTER_SITES= http://people.FreeBSD.org/~seanc/ports/libmemcache/
+MASTER_SITES= http://people.FreeBSD.org/~seanc/libmemcache/
MAINTAINER= seanc@FreeBSD.org
COMMENT= The C library for accessing a memcache cluster
-BUILD_DEPENDS= pmk:${PORTSDIR}/devel/pmk
-
USE_BZIP2= yes
INSTALLS_SHLIB= yes
-NO_FILTER_SHLIBS= yes
+GNU_CONFIGURE= yes
OPTIONS= DEBUG "Build with debugging turned on" off
+.include <bsd.port.pre.mk>
+
.if defined(WITH_DEBUG)
-PMKARGS= -e debug
+CONFIGURE_ARGS+=--enable-debug
.endif
-do-configure:
- cd ${WRKSRC}; ${LOCALBASE}/bin/pmk ${PMKARGS}
-
-post-install:
- # only files named lib*.so.[0-9] enter ld-elf.so.hints
- ${LN} -sf ${PREFIX}/lib/libmemcache.so.1.2 ${PREFIX}/lib/libmemcache.so.1
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/libmemcache/distinfo b/databases/libmemcache/distinfo
index 6c015dc613ea..3b288d38d18a 100644
--- a/databases/libmemcache/distinfo
+++ b/databases/libmemcache/distinfo
@@ -1,3 +1,3 @@
-MD5 (libmemcache-1.2.3.tar.bz2) = 018c4dd66b42c9a8605b2d9e08b910b4
-SHA256 (libmemcache-1.2.3.tar.bz2) = 52fe37d47d44ac6ed4d7cb64e8ed1cbf6492e6c83293c43b69c8574a379bf41c
-SIZE (libmemcache-1.2.3.tar.bz2) = 40321
+MD5 (libmemcache-1.4.0.rc2.tar.bz2) = 402c957cd71538c07a263542eeb513d1
+SHA256 (libmemcache-1.4.0.rc2.tar.bz2) = f496d41092c697384a7180720689da6a85d7c6ea2283eca69c8aaff2b58bebbf
+SIZE (libmemcache-1.4.0.rc2.tar.bz2) = 301136
diff --git a/databases/libmemcache/files/patch-pmkfile b/databases/libmemcache/files/patch-pmkfile
deleted file mode 100644
index aa83653bafb6..000000000000
--- a/databases/libmemcache/files/patch-pmkfile
+++ /dev/null
@@ -1,82 +0,0 @@
---- pmkfile.orig Wed Apr 27 14:54:44 2005
-+++ pmkfile Wed Apr 27 11:35:47 2005
-@@ -16,13 +16,13 @@
-
- IF(!debug) {
- DEFINE {
-- CFLAGS = "-std=c99 -pipe -O3"
-+ CFLAGS = "-pipe -O3"
- }
- }
-
- IF(debug) {
- DEFINE {
-- CFLAGS = "-std=c99 -g -Wall -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wpacked -Wdeprecated-declarations -Wredundant-decls -Wnested-externs -Winline -Wdisabled-optimization -pipe -pedantic"
-+ CFLAGS = "-g -Wall -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wpacked -Wdeprecated-declarations -Wredundant-decls -Wnested-externs -Winline -Wdisabled-optimization -pipe -pedantic"
- }
- }
-
-@@ -121,24 +121,6 @@
- NAME="unistd.h"
- }
-
--CHECK_HEADER(include_socket) {
-- REQUIRED=TRUE
-- FUNCTION="socket"
-- NAME="sys/socket.h"
--}
--
--CHECK_HEADER(include_setsockopt) {
-- REQUIRED=TRUE
-- FUNCTION="setsockopt"
-- NAME="sys/socket.h"
--}
--
--CHECK_HEADER(include_connect) {
-- REQUIRED=TRUE
-- FUNCTION="setsockopt"
-- NAME="sys/socket.h"
--}
--
- CHECK_HEADER(include_freeaddrinfo) {
- REQUIRED=TRUE
- FUNCTION="freeaddrinfo"
-@@ -170,12 +152,6 @@
- NAME="ctype.h"
- }
-
--CHECK_HEADER(include_readv) {
-- REQUIRED=TRUE
-- FUNCTION="readv"
-- NAME="sys/uio.h"
--}
--
- CHECK_HEADER(include_errno) {
- REQUIRED=FALSE
- FUNCTION="errno"
-@@ -194,12 +170,6 @@
- NAME="unistd.h"
- }
-
--CHECK_HEADER(include_writev) {
-- REQUIRED=TRUE
-- FUNCTION="writev"
-- NAME="sys/uio.h"
--}
--
- CHECK_HEADER(include_snprintf) {
- REQUIRED=TRUE
- FUNCTION="snprintf"
-@@ -281,12 +251,6 @@
- REQUIRED=TRUE
- FUNCTION="bzero"
- NAME="strings.h"
--}
--
--CHECK_HEADER(include_select) {
-- REQUIRED=TRUE
-- FUNCTIOn="select"
-- NAME="sys/select.h"
- }
-
- CHECK_HEADER(include_strdup) {
diff --git a/databases/libmemcache/pkg-plist b/databases/libmemcache/pkg-plist
index cb1b73ef439b..d123f0442629 100644
--- a/databases/libmemcache/pkg-plist
+++ b/databases/libmemcache/pkg-plist
@@ -1,5 +1,7 @@
+include/memcache/_buffer.h
+include/memcache/buffer.h
+@dirrm include/memcache
include/memcache.h
-lib/libmemcache.so.1.2
-lib/libmemcache.so.1
+lib/libmemcache.so.4
lib/libmemcache.so
lib/libmemcache.a