aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Memcached-libmemcached/Makefile
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2015-07-01 03:28:32 +0800
committerswills <swills@FreeBSD.org>2015-07-01 03:28:32 +0800
commit117ffbf61a1851977c625c4314230ef25451def4 (patch)
tree9201b4ee48ae45b704684001bcce0be352d1d0b5 /databases/p5-Memcached-libmemcached/Makefile
parentc46d41adf988432f56f6ab096ed590da76968382 (diff)
downloadfreebsd-ports-gnome-117ffbf61a1851977c625c4314230ef25451def4.tar.gz
freebsd-ports-gnome-117ffbf61a1851977c625c4314230ef25451def4.tar.zst
freebsd-ports-gnome-117ffbf61a1851977c625c4314230ef25451def4.zip
databases/p5-Memcached-libmemcached: update to 1.001801
While here, patch out the bundled libmemcached and use the one from ports
Diffstat (limited to 'databases/p5-Memcached-libmemcached/Makefile')
-rw-r--r--databases/p5-Memcached-libmemcached/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/databases/p5-Memcached-libmemcached/Makefile b/databases/p5-Memcached-libmemcached/Makefile
index 37e456309b59..743f18061e50 100644
--- a/databases/p5-Memcached-libmemcached/Makefile
+++ b/databases/p5-Memcached-libmemcached/Makefile
@@ -2,22 +2,31 @@
# $FreeBSD$
PORTNAME= Memcached-libmemcached
-PORTVERSION= 0.44.06
-PORTREVISION= 1
+PORTVERSION= 1.001801
CATEGORIES= databases devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:TIMB
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= swills@FreeBSD.org
COMMENT= Thin fast full interface to the libmemcached client API
+LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
+
USES= perl5
USE_PERL5= configure
USE_LDCONFIG= yes
-post-patch:
- @${REINPLACE_CMD} -e '/my $$configure_args/ s|--disable-shared|& --without-memcached --disable-dtrace|' ${WRKSRC}/Makefile.PL
+post-extract:
+ @${RM} -r ${WRKDIR}/src
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD
+.if ${OSVERSION} > 1000000
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.PL-10
+.else
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.PL-9
+.endif
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>