summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-05-07 23:16:33 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-05-07 23:16:48 +0200
commitf2696d9b14822e6c76b792b1981ef9c7c06c6eb5 (patch)
tree232cb0f48225a17c588390914c71580a9bf96c91 /media-libs/ming/ming-0.4.8-r1.ebuild
parentmedia-libs/libsdl2: Drop old 2.0.5 (diff)
downloadgentoo-f2696d9b14822e6c76b792b1981ef9c7c06c6eb5.tar.gz
gentoo-f2696d9b14822e6c76b792b1981ef9c7c06c6eb5.tar.bz2
gentoo-f2696d9b14822e6c76b792b1981ef9c7c06c6eb5.zip
media-libs/ming: Use pkg-config to find freetype
Bug: https://bugs.gentoo.org/654828 Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'media-libs/ming/ming-0.4.8-r1.ebuild')
-rw-r--r--media-libs/ming/ming-0.4.8-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/ming/ming-0.4.8-r1.ebuild b/media-libs/ming/ming-0.4.8-r1.ebuild
index 8015aff99bfa..eba066b84485 100644
--- a/media-libs/ming/ming-0.4.8-r1.ebuild
+++ b/media-libs/ming/ming-0.4.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,13 +28,17 @@ RDEPEND="perl? ( dev-lang/perl:= )
!media-libs/libswf"
DEPEND="${RDEPEND}
sys-devel/flex
+ virtual/pkgconfig
virtual/yacc"
PDEPEND="php? ( dev-php/ming-php )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
S=${WORKDIR}/${P//./_}
-PATCHES=( "${FILESDIR}"/${PN}-0.4.8-CVE-2017-8782.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4.8-CVE-2017-8782.patch
+ "${FILESDIR}"/${PN}-0.4.8-freetype_pkgconfig.patch
+)
# Tests only work when the package is tested on a system
# which does not presently have any version of ming installed.