diff options
author | David Seifert <soap@gentoo.org> | 2017-11-18 21:48:03 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-19 10:11:51 +0100 |
commit | 93c9f29024d91e41e3d640fc3ef2e8906ca98dcc (patch) | |
tree | f885f76b9980b60035990adf840b3dee16409f68 | |
parent | app-admin/conky: Fix bug 638042. (diff) | |
download | gentoo-93c9f29024d91e41e3d640fc3ef2e8906ca98dcc.tar.gz gentoo-93c9f29024d91e41e3d640fc3ef2e8906ca98dcc.tar.bz2 gentoo-93c9f29024d91e41e3d640fc3ef2e8906ca98dcc.zip |
media-libs/portmidi: [QA] Add cmake-utils_src_prepare
Closes: https://bugs.gentoo.org/637358
Package-Manager: Portage-2.3.14, Repoman-2.3.6
-rw-r--r-- | media-libs/portmidi/portmidi-217-r1.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/media-libs/portmidi/portmidi-217-r1.ebuild b/media-libs/portmidi/portmidi-217-r1.ebuild index 1542a98315c7..b08b58ff44cc 100644 --- a/media-libs/portmidi/portmidi-217-r1.ebuild +++ b/media-libs/portmidi/portmidi-217-r1.ebuild @@ -37,17 +37,21 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" S=${WORKDIR}/${PN} +PATCHES=( + # fix parallel make failures, fix java support, and allow optional + # components like test programs and static libs to be skipped + "${FILESDIR}"/${P}-cmake.patch + + # add include directories and remove references to missing files + "${FILESDIR}"/${P}-python.patch +) + pkg_setup() { use java && java-pkg-opt-2_pkg_setup } src_prepare() { - # fix parallel make failures, fix java support, and allow optional - # components like test programs and static libs to be skipped - epatch "${FILESDIR}"/${P}-cmake.patch - - # add include directories and remove references to missing files - epatch "${FILESDIR}"/${P}-python.patch + cmake-utils_src_prepare # install wrapper for pmdefaults if use java ; then |