From: Brian Evans Date: Wed, 19 Jun 2019 17:19:47 +0000 (-0400) Subject: dev-php/pecl-stomp: Fix build error finding OpenSSL X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f57ba45625fd92e45a2afbdd1eb4d188cd265a69;p=gentoo.git 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 --- 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