Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= libmemcached |
8 |
PORTNAME= libmemcached |
9 |
PORTVERSION= 0.44 |
9 |
PORTVERSION= 0.44 |
10 |
PORTREVISION= 0 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= databases |
11 |
CATEGORIES= databases |
12 |
MASTER_SITES= http://download.tangent.org/ |
12 |
MASTER_SITES= http://download.tangent.org/ |
13 |
|
13 |
|
Lines 20-27
Link Here
|
20 |
USE_GNOME= gnomehack gnometarget pkgconfig |
20 |
USE_GNOME= gnomehack gnometarget pkgconfig |
21 |
CONFIGURE_ARGS= --with-memcached=no --disable-libevent --without-libevent-prefix |
21 |
CONFIGURE_ARGS= --with-memcached=no --disable-libevent --without-libevent-prefix |
22 |
|
22 |
|
|
|
23 |
OPTIONS= SASL "With (Cyrus) SASL2 support" off |
24 |
|
25 |
.include <bsd.port.pre.mk> |
26 |
|
23 |
post-patch: |
27 |
post-patch: |
24 |
${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ |
28 |
${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ |
|
|
29 |
-e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \ |
25 |
${WRKSRC}/Makefile.in |
30 |
${WRKSRC}/Makefile.in |
26 |
.if defined(NO_INSTALL_MANPAGES) |
31 |
.if defined(NO_INSTALL_MANPAGES) |
27 |
${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in |
32 |
${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in |
Lines 125-128
Link Here
|
125 |
memcached_version.3 |
130 |
memcached_version.3 |
126 |
.endif |
131 |
.endif |
127 |
|
132 |
|
128 |
.include <bsd.port.mk> |
133 |
.if defined(WITH_SASL) |
|
|
134 |
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 |
135 |
CONFIGURE_ARGS+= --with-libsasl2-prefix="${LOCALBASE}" |
136 |
.else |
137 |
CONFIGURE_ARGS+= --disable-sasl |
138 |
.endif |
139 |
|
140 |
.include <bsd.port.post.mk> |