From f57ba45625fd92e45a2afbdd1eb4d188cd265a69 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Wed, 19 Jun 2019 13:19:47 -0400 Subject: [PATCH] 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 --- 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 d808c2c1b917..99522e6709c5 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 -- 2.26.2