ports/142873: [PATCH] databases/pecl-memcached: add igbinary support
Martin Matuska
mm at FreeBSD.org
Fri Jan 15 22:10:01 UTC 2010
>Number: 142873
>Category: ports
>Synopsis: [PATCH] databases/pecl-memcached: add igbinary support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 15 22:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD core.vx.sk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #14: Fri Jan 8 15:39:49 CET
>Description:
- add igbinary support to OPTIONS
- remove experimental notice (1.0.0 was declared stable)
- bump PORTREVISION
Port maintainer (gslin at gslin.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- pecl-memcached-1.0.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/pecl-memcached/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 9 Jul 2009 09:05:58 -0000 1.6
+++ Makefile 15 Jan 2010 22:03:10 -0000
@@ -7,6 +7,7 @@
PORTNAME= memcached
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -27,7 +28,14 @@
USE_PHP_BUILD= yes
CONFIGURE_ARGS+=--with-libmemcached-dir=${LOCALBASE}
-post-install:
- @${CAT} ${WRKSRC}/EXPERIMENTAL
+OPTIONS= IGBINARY "Binary serializer support" off
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_IGBINARY)
+CONFIGURE_ARGS+=--enable-memcached-igbinary
+BUILD_DEPENDS+= lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary
+RUN_DEPENDS+= lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary
+.endif
+
+.include <bsd.port.post.mk>
--- pecl-memcached-1.0.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list