diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-17 09:00:42 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-17 09:00:42 +0000 |
commit | 7fb9058d3779f78665d4d70d502c79ff2981fa9c (patch) | |
tree | 78c99d5e3c9b7c4f5753b7e607116636971828ef /databases/libmemcached | |
parent | 7c18e5b1365c2367fd183b3d7c997eb627f79bf2 (diff) | |
download | ports-7fb9058d3779f78665d4d70d502c79ff2981fa9c.tar.gz ports-7fb9058d3779f78665d4d70d502c79ff2981fa9c.zip |
Notes
Diffstat (limited to 'databases/libmemcached')
-rw-r--r-- | databases/libmemcached/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile index 9179adf7d342..e0c431101839 100644 --- a/databases/libmemcached/Makefile +++ b/databases/libmemcached/Makefile @@ -8,7 +8,7 @@ CATEGORIES= databases MASTER_SITES= http://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/ MAINTAINER= m.tsatsenko@gmail.com -COMMENT= A C and C++ client library to the memcached server +COMMENT= C and C++ client library to the memcached server LIB_DEPENDS?= execinfo.1:${PORTSDIR}/devel/libexecinfo \ event-1.4.4:${PORTSDIR}/devel/libevent @@ -21,26 +21,15 @@ CONFIGURE_ARGS= --without-memcached CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lexecinfo" CXXFLAGS+= -D__STDC_CONSTANT_MACROS -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if exists(${LOCALBASE}/lib/libsasl.so.3) LIB_DEPENDS+= sasl2.3:${PORTSDIR}/security/cyrus-sasl2 .endif -.if ${OSVERSION} < 800000 -BROKEN= does not compile on FreeBSD 7.x -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ - -e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \ - ${WRKSRC}/Makefile.in ${WRKSRC}/support/include.am -.if defined(NO_INSTALL_MANPAGES) - @${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in -.endif - .if !defined(NO_INSTALL_MANPAGES) -USE_PERL5_BUILD=yes # pod2man +USES= perl5 +USE_PERL5= build MAN1= memaslap.1 \ memcapable.1 \ memcat.1 \ @@ -156,4 +145,12 @@ MAN3= hashkit_clone.3 \ memcached_version.3 .endif -.include <bsd.port.post.mk> +post-patch: + @${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ + -e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \ + ${WRKSRC}/Makefile.in ${WRKSRC}/support/include.am +.if defined(NO_INSTALL_MANPAGES) + @${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.mk> |