Skip to content

Commit

Permalink
dev-php/pecl-haru: Drop USE png, zlib
Browse files Browse the repository at this point in the history
media-libs/libharu-2.3.0-r2 lost these flags for some reason.

Package-Manager: Portage-2.3.67, Repoman-2.3.14
RepoMan-Options: --force
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jun 12, 2019
1 parent 2c31370 commit 0986198
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions dev-php/pecl-haru/pecl-haru-1.0.4-r3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

USE_PHP="php5-6"

inherit php-ext-pecl-r3

DESCRIPTION="An interface to libharu, a PDF generator"

LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="media-libs/libharu[png(+),zlib(+)]"
RDEPEND="${DEPEND}"

src_configure() {
# config.m4 is broken checking paths, so we need to override it
local PHP_EXT_ECONF_ARGS=(
--with-png-dir=/usr
--with-zlib-dir=/usr
)

php-ext-source-r3_src_configure
}

0 comments on commit 0986198

Please sign in to comment.