summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/memcached/memcached-1.5.21.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/memcached/memcached-1.5.21.ebuild b/net-misc/memcached/memcached-1.5.21.ebuild
index 9f2db8f5a9eb..f5940b47e3fe 100644
--- a/net-misc/memcached/memcached-1.5.21.ebuild
+++ b/net-misc/memcached/memcached-1.5.21.ebuild
@@ -30,11 +30,14 @@ S="${WORKDIR}/${MY_P}"
RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
+ "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
+ "${FILESDIR}/${PN}-1.4.4-as-needed.patch"
+ "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch"
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch"
sed -i -e 's,-Werror,,g' configure.ac || die
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die
eautoreconf