dev-php/pecl-memcached: Fix build failure with USE=examples
authorBrian Evans <grknight@gentoo.org>
Fri, 22 Feb 2019 15:02:09 +0000 (10:02 -0500)
committerBrian Evans <grknight@gentoo.org>
Fri, 22 Feb 2019 15:04:54 +0000 (10:04 -0500)
The server-examples are removed upstream.  Don't try to install.
The examples USE flag is scheduled for removal on next bump

Closes: https://bugs.gentoo.org/659640
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight@gentoo.org>
dev-php/pecl-memcached/pecl-memcached-3.0.4.ebuild
dev-php/pecl-memcached/pecl-memcached-3.1.3.ebuild

index 852b0db4b78dccdc7c0738d913852badf7c3a37b..f2b36a648eaae8718055b4480eef6176cf211eab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,8 +54,6 @@ src_configure() {
 }
 
 src_install(){
-       use examples && dodoc -r server-example
-
        if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
                php-ext-source-r3_src_install
        fi
index c4e0fb13e2e32662abf4b0931ccd0ef97c7caad9..a9f98652d5fb8630df3b76b982b9cc80ec88b954 100644 (file)
@@ -80,8 +80,6 @@ src_test() {
 }
 
 src_install(){
-       use examples && dodoc -r server-example
-
        if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
                php-ext-source-r3_src_install
        fi