commit:     f57ba45625fd92e45a2afbdd1eb4d188cd265a69
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 17:19:47 2019 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 17:19:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57ba456

dev-php/pecl-stomp: Fix build error finding OpenSSL

Closes: https://bugs.gentoo.org/688360
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild 
b/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild
index d808c2c1b91..99522e6709c 100644
--- a/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild
+++ b/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild
@@ -27,6 +27,8 @@ DEPEND="${DEPEND}
 RDEPEND="${DEPEND}
        php_targets_php5-6? ( dev-php/pecl-stomp:0 )"
 
+DEPEND="virtual/pkgconfig ${DEPEND}"
+
 src_prepare() {
        if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
                php-ext-source-r3_src_prepare
@@ -39,7 +41,7 @@ src_configure() {
        if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
                local PHP_EXT_ECONF_ARGS=(
                        --enable-stomp
-                       --with-openssl-dir=$(usex ssl "${EPREFIX}/usr")
+                       --with-openssl-dir=$(usex ssl yes no)
                )
                php-ext-source-r3_src_configure
        fi

Reply via email to