dev-php/pecl-http: Fix build failure for SLOT 7
authorBrian Evans <grknight@gentoo.org>
Mon, 9 Oct 2017 13:21:46 +0000 (09:21 -0400)
committerBrian Evans <grknight@gentoo.org>
Mon, 9 Oct 2017 13:21:46 +0000 (09:21 -0400)
When libidn and libidn2 are installed, the build tries to use both.
This causes an error in definitions.  Choosing libidn for now,
but it is simple enough to use the other.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
dev-php/pecl-http/pecl-http-3.1.0.ebuild

index 39ea6b2346b958d45c37670fc3aa3abd168d10d7..df1e34b5a7e392a68dbb8cc4f8312c9eb5400a45 100644 (file)
@@ -33,7 +33,7 @@ DEPEND="dev-libs/libevent
 RDEPEND="${DEPEND}
        php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn2-dir )
 
 PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
 
index 65164af8c53a8c2e33f195df08075daa6adf3e00..c262cbac85492d64ccde2e88c9d3d522632aaca9 100644 (file)
@@ -33,7 +33,7 @@ DEPEND="dev-libs/libevent
 RDEPEND="${DEPEND}
        php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn2-dir )
 
 PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )