Fix SASL option by adding USES=localbase. Before (unpatched): ===> libmemcached-1.0.18_4 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so) ... checking for libintl.h... no ... checking test for a working libevent... no ... checking sasl/sasl.h usability... no checking sasl/sasl.h presence... no checking for sasl/sasl.h... no checking checking to see if sasl works... "no" checking checking to see if enabling sasl... "no" ... * SASL support: no After (patch applied): ===> libmemcached-1.0.18_5 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so) ... checking for libintl.h... yes ... checking test for a working libevent... yes ... checking sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking for main in -lsasl2... yes checking checking to see if sasl works... "yes" checking checking to see if enabling sasl... "yes" ... * SASL support: yes
Index: Makefile =================================================================== --- Makefile (revision 440246) +++ Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= libmemcached PORTVERSION= 1.0.18 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases MASTER_SITES= http://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/ @@ -15,7 +15,7 @@ LIB_DEPENDS?= libevent.so:devel/libevent TEST_DEPENDS= memcached:databases/memcached -USES= autoreconf execinfo gmake pathfix pkgconfig libtool +USES= autoreconf execinfo gmake libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes
A commit references this bug: Author: sunpoet Date: Sun May 7 21:27:13 UTC 2017 New revision: 440380 URL: https://svnweb.freebsd.org/changeset/ports/440380 Log: Fix SASL option - Sort USES - Bump PORTREVISION for package change PR: 219100 Submitted by: sunpoet (myself) Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email) Changes: head/databases/libmemcached/Makefile
Committed. Thanks!