From e41906c2a727e0c867becb0f084c450071544594 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 1 Dec 2017 09:55:34 -0800 Subject: [PATCH] dev-libs/libmemcached: cleanup Package-Manager: Portage-2.3.16, Repoman-2.3.6 --- dev-libs/libmemcached/Manifest | 6 +- .../files/libmemcached-1.0.17-gcc4_8.patch | 183 ------------------ .../libmemcached/libmemcached-0.50.ebuild | 65 ------- .../libmemcached-1.0.17-r3.ebuild | 49 ----- .../libmemcached-1.0.17-r4.ebuild | 50 ----- 5 files changed, 2 insertions(+), 351 deletions(-) delete mode 100644 dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch delete mode 100644 dev-libs/libmemcached/libmemcached-0.50.ebuild delete mode 100644 dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild delete mode 100644 dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild diff --git a/dev-libs/libmemcached/Manifest b/dev-libs/libmemcached/Manifest index 40b12673467a5..928493f86d6e8 100644 --- a/dev-libs/libmemcached/Manifest +++ b/dev-libs/libmemcached/Manifest @@ -1,4 +1,2 @@ -DIST libmemcached-0.50.tar.gz 884272 SHA256 d3ed82f9c5cdfa816047ed6b7475b5708f9040b5cf3d9e2aed55de235e8b2f9a SHA512 f06a17b365779eb8fb0c94982e5141643ed17f91e5137565ff756912cf96b3f68b11a643f84d0cba1b474411f16a64086cc311ac5cea4bc3792da81b40d423b7 WHIRLPOOL fc1d3107772a45e844764c570261ccd2556ff11b770377c84788cc3d8a8ee946a8e5b3527c21e70c1c5aa1d9493270d9079f8a75cd5387835ccd7def1cab0f9e -DIST libmemcached-1.0.14.tar.gz 1000929 SHA256 32eaea2c4b8965a12bd33fe1af043d7e20b7ec64977937973a3d97514f1e946b SHA512 4c0371cc4752eeee94baad6063b2413f096b5050166ce761ac26080559537dab32b69131a97703fdebf8f4886520d4bc29c7d4d8d1df6d0d681c81b88354c15b WHIRLPOOL be3760f75a6de33687272b5bf7be950edb0a3f96184c7f8f7e1cb47ff85479ea76c277f298d36f21a5f15c1ce8e04a0714f1bf73700711842bb4c0841959674a -DIST libmemcached-1.0.17.tar.gz 1023177 SHA256 7bb27b2589400f918df1cf5002cb01ef7ccac6e23f818604e2386de62c80bba5 SHA512 7cc2a836524a628f4617bad12e8ea3b0192a3f8530a3588a076daac56b3e773d7d36823091a81d6447da9fe9d017849c59dbbcc65190ff9817bb985dc6c11a3b WHIRLPOOL 34b57811750667bca59efa5a4356a15dd2bd0135534c1d157df4b3d9ff3575db1848f363914ee1b6b606a45dae3145985c791f11ae5890a7493207cb2e9eb3b4 -DIST libmemcached-1.0.18.tar.gz 1039649 SHA256 e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82 SHA512 2d95fea63b8b6dc7ded42c3a88a54aad74d5a1d417af1247144dae4a88c3b639a3aabc0c2b66661ff69a7609a314efaaae236e10971af9c428a4bca0a0101585 WHIRLPOOL f7d8f405306fd7cbfee6ba8b340305bc79b1dbcd6a2a2dcb0ee74a24d8928e5a5a7f0d20afebf58cecf44e7ca3fd66abd2d30041848b89ddbb10eb1da9179b94 +DIST libmemcached-1.0.14.tar.gz 1000929 BLAKE2B 6dfef0fa5714e6383514ff28d3eb75740f30f7adce4e4c0ea4c26a6667fc6cfa5df84e0c52b47393d156e9a8e5de0409699b47d77128a400f64f37b981977dbb SHA512 4c0371cc4752eeee94baad6063b2413f096b5050166ce761ac26080559537dab32b69131a97703fdebf8f4886520d4bc29c7d4d8d1df6d0d681c81b88354c15b +DIST libmemcached-1.0.18.tar.gz 1039649 BLAKE2B e55acdc4c0cb2417f01b2980f7f71d9dfd685877361622422ee812f9e066ed2711549d457cf1b4a48a14c778e820b54abfe0c6274812c71fc7961e68167975e9 SHA512 2d95fea63b8b6dc7ded42c3a88a54aad74d5a1d417af1247144dae4a88c3b639a3aabc0c2b66661ff69a7609a314efaaae236e10971af9c428a4bca0a0101585 diff --git a/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch b/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch deleted file mode 100644 index 5f42d3f3cabda..0000000000000 --- a/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch +++ /dev/null @@ -1,183 +0,0 @@ -Description: Fix compilation with gcc-4.8 - This patch fixes the error flags made incompatible with gcc-4.8: - g++: error: -fsanitize=address is incompatible with -fsanitize=thread -Author: Brian Aker -Last-Update: 2013-06-14 -Bug: https://bugs.launchpad.net/libmemcached/+bug/1164442 - ---- a/libtest/run.gdb 2012-03-26 01:08:09 +0000 -+++ b/libtest/run.gdb 2013-04-10 05:25:24 +0000 -@@ -1,5 +1,6 @@ - set logging on - set logging overwrite on - set environment LIBTEST_IN_GDB=1 -+set ASAN_OPTIONS=abort_on_error=1 - run - thread apply all bt - ---- a/m4/ax_harden_compiler_flags.m4 2013-02-12 05:44:21 +0000 -+++ b/m4/ax_harden_compiler_flags.m4 2013-04-10 05:25:24 +0000 -@@ -53,7 +53,7 @@ - # ? _APPEND_COMPILE_FLAGS_ERROR([-Wlong-long]) -- Don't turn on for - # compatibility issues memcached_stat_st - --#serial 8 -+#serial 9 - - AC_DEFUN([_WARNINGS_AS_ERRORS], - [AC_CACHE_CHECK([if all warnings into errors],[ac_cv_warnings_as_errors], -@@ -92,9 +92,12 @@ - _APPEND_COMPILE_FLAGS_ERROR([-H]) - _APPEND_COMPILE_FLAGS_ERROR([-ggdb]) - _APPEND_COMPILE_FLAGS_ERROR([-g]) -- _APPEND_COMPILE_FLAGS_ERROR([-O0])], -- [_APPEND_COMPILE_FLAGS_ERROR([-g]) -- _APPEND_COMPILE_FLAGS_ERROR([-O2])]) -+ _APPEND_COMPILE_FLAGS_ERROR([-O0]), -+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) -+ ],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-g]) -+ _APPEND_COMPILE_FLAGS_ERROR([-O2]) -+ ]) - - AS_IF([test "x$ac_cv_vcs_checkout" = xyes], - [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check]) -@@ -155,26 +158,31 @@ - _APPEND_COMPILE_FLAGS_ERROR([-Wundef]) - _APPEND_COMPILE_FLAGS_ERROR([-Wunsafe-loop-optimizations]) - _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) -+ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) -+ AS_IF([test "x$enable_shared" = "xyes"],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) -+ ]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) -+ ]) - _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered]) - _APPEND_COMPILE_FLAGS_ERROR([-Wunused]) - _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result]) -@@ -186,6 +194,7 @@ - _APPEND_COMPILE_FLAGS_ERROR([-fwrapv]) - _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt]) - _APPEND_COMPILE_FLAGS_ERROR([-pipe]) -+ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess]) - - AS_IF([test "x$ax_enable_debug" = xno], - [AS_IF([test "x$ac_cv_vcs_checkout" = xyes], -@@ -213,9 +222,12 @@ - _APPEND_COMPILE_FLAGS_ERROR([-H]) - _APPEND_COMPILE_FLAGS_ERROR([-ggdb]) - _APPEND_COMPILE_FLAGS_ERROR([-g]) -- _APPEND_COMPILE_FLAGS_ERROR([-O0])], -- [_APPEND_COMPILE_FLAGS_ERROR([-g]) -- _APPEND_COMPILE_FLAGS_ERROR([-O2])]) -+ _APPEND_COMPILE_FLAGS_ERROR([-O0]), -+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) -+ ],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-g]) -+ _APPEND_COMPILE_FLAGS_ERROR([-O2]) -+ ]) - - AS_IF([test "x$ac_cv_vcs_checkout" = xyes], - [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check]) -@@ -268,27 +280,32 @@ - _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations]) - _APPEND_COMPILE_FLAGS_ERROR([-Wc++11-compat]) - # _APPEND_COMPILE_FLAGS_ERROR([-Weffc++]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) -- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) --# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast]) -+ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) -+ AS_IF([test "x$enable_shared" = "xyes"],[ -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) -+ ]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) -+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) -+ ]) -+# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast]) - _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered]) - _APPEND_COMPILE_FLAGS_ERROR([-Wunused]) - _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result]) -@@ -301,6 +318,7 @@ - _APPEND_COMPILE_FLAGS_ERROR([-fwrapv]) - _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt]) - _APPEND_COMPILE_FLAGS_ERROR([-pipe]) -+ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess]) - - AS_IF([test "x$ax_enable_debug" = xno], - [AS_IF([test "x$ac_cv_vcs_checkout" = xyes], - diff --git a/dev-libs/libmemcached/libmemcached-0.50.ebuild b/dev-libs/libmemcached/libmemcached-0.50.ebuild deleted file mode 100644 index 1f9bf894d977d..0000000000000 --- a/dev-libs/libmemcached/libmemcached-0.50.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit eutils multilib - -DESCRIPTION="a C client library to the memcached server" -HOMEPAGE="http://tangent.org/552/libmemcached.html" -SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug doc hsieh +libevent sasl static-libs tcmalloc" - -DEPEND="net-misc/memcached - virtual/perl-Pod-Parser - doc? ( dev-python/sphinx ) - libevent? ( dev-libs/libevent ) - tcmalloc? ( dev-util/google-perftools ) - sasl? ( virtual/gsasl )" -RDEPEND="${DEPEND}" - -src_prepare() { - # These tests freezes for me - sed -i -e "/connectionpool/d" \ - -e "/lp:583031/d" tests/mem_functions.cc || die -} - -src_configure() { - econf \ - --disable-dtrace \ - --disable-libinnodb \ - $(use_enable debug assert) \ - $(use_with debug debug) \ - $(use_enable hsieh hsieh_hash) \ - $(use_enable libevent libevent) \ - $(use_enable tcmalloc tcmalloc) \ - $(use_with sasl libsasl-prefix) \ - $(use_with sasl libsasl2-prefix) \ - $(use_enable static-libs static) -} - -src_compile() { - emake || die - - if use doc; then - emake html-local || die - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - - use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la - - dodoc AUTHORS ChangeLog README THANKS TODO - # remove manpage to avoid collision, see bug #299330 - rm -f "${D}"/usr/share/man/man1/memdump.* || die "Install failed" - newman docs/man/memdump.1 memcached_memdump.1 - if use doc; then - dohtml -r docs/html/* || die - fi -} diff --git a/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild b/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild deleted file mode 100644 index a9cd9f3a1fdde..0000000000000 --- a/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils multilib -RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 - -DESCRIPTION="a C client library to the memcached server" -HOMEPAGE="http://libmemcached.org/libMemcached.html" -SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug hsieh +libevent sasl static-libs" - -DEPEND="net-misc/memcached - sasl? ( dev-libs/cyrus-sasl ) - libevent? ( dev-libs/libevent )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${PN}-1.0.17-gcc4_8.patch" - eautoreconf -} - -src_configure() { - econf \ - --disable-dtrace \ - $(use_enable static-libs static) \ - $(use_enable sasl sasl) \ - $(use_enable debug debug) \ - $(use_enable debug assert) \ - $(use_enable hsieh hsieh_hash) \ - --libdir=/usr/$(get_libdir) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la - - dodoc AUTHORS ChangeLog README THANKS TODO - # remove manpage to avoid collision, see bug #299330 - rm -f "${D}"/usr/share/man/man1/memdump.* - newman man/memdump.1 memcached_memdump.1 -} diff --git a/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild b/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild deleted file mode 100644 index 4e98e815134e9..0000000000000 --- a/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils multilib -RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 - -DESCRIPTION="a C client library to the memcached server" -HOMEPAGE="http://libmemcached.org/libMemcached.html" -SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug hsieh +libevent sasl static-libs" - -DEPEND="net-misc/memcached - sasl? ( dev-libs/cyrus-sasl ) - libevent? ( dev-libs/libevent )" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -i '6i CFLAGS = @CFLAGS@' Makefile.am - epatch "${FILESDIR}/${PN}-1.0.17-gcc4_8.patch" - eautoreconf -} - -src_configure() { - econf \ - --disable-dtrace \ - $(use_enable static-libs static) \ - $(use_enable sasl sasl) \ - $(use_enable debug debug) \ - $(use_enable debug assert) \ - $(use_enable hsieh hsieh_hash) \ - --libdir=/usr/$(get_libdir) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la - - dodoc AUTHORS ChangeLog README THANKS TODO - # remove manpage to avoid collision, see bug #299330 - rm -f "${D}"/usr/share/man/man1/memdump.* - newman man/memdump.1 memcached_memdump.1 -}