ports/142337: [PATCH] databases/memcached: OPTIONS+= SYSLOG
Philip M. Gollucci
pgollucci at FreeBSD.org
Tue Jan 5 07:20:02 UTC 2010
>Number: 142337
>Category: ports
>Synopsis: [PATCH] databases/memcached: OPTIONS+= SYSLOG
>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: Tue Jan 05 07:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Dec 8 02:25:55 UTC
>Description:
and 1 minor whitespace fix
Port maintainer (mnag at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- memcached-1.4.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/memcached/Makefile,v
retrieving revision 1.37
diff -u -u -r1.37 Makefile
--- Makefile 22 Dec 2009 01:27:45 -0000 1.37
+++ Makefile 5 Jan 2010 07:19:10 -0000
@@ -22,7 +22,8 @@
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix=
OPTIONS= REPCACHED "Enable data replication feature" off \
- SASL "Enable SASL support" off
+ SASL "Enable SASL support" off \
+ SYSLOG "Log to syslog instead of a file" off
MAN1= memcached.1
@@ -34,7 +35,7 @@
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000
-CFLAGS+= -fstack-protector
+CFLAGS+= -fstack-protector
.endif
.if defined(WITH_REPCACHED)
@@ -57,6 +58,10 @@
CONFIGURE_ARGS+= --disable-sasl
.endif
+.if defined (WITH_SYSLOG)
+CONFIGURE_ARGS+= --with-syslog
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
--- memcached-1.4.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list