Bug 219100 - databases/libmemcached: fix SASL option
Summary: databases/libmemcached: fix SASL option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-06 17:59 UTC by Po-Chuan Hsieh
Modified: 2017-05-07 21:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (m.tsatsenko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-05-06 17:59:42 UTC
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
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-05-06 18:00:03 UTC
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
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-05-07 21:29:12 UTC
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
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-05-07 21:33:08 UTC
Committed. Thanks!