commit: 405672c46b002f84d812c21a9e3d40f53f07879f Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Thu Dec 19 20:02:34 2019 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Thu Dec 19 20:02:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405672c4
media-libs/portmidi: fixed java in 217-r3 1) ninja fails for java use flag 2) jdk cannot be in BDEPEND Closes: https://bugs.gentoo.org/703330 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> media-libs/portmidi/portmidi-217-r3.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-libs/portmidi/portmidi-217-r3.ebuild b/media-libs/portmidi/portmidi-217-r3.ebuild index 5205ea8fbf3..049ce7a544a 100644 --- a/media-libs/portmidi/portmidi-217-r3.ebuild +++ b/media-libs/portmidi/portmidi-217-r3.ebuild @@ -5,6 +5,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_OPTIONAL=1 +# ninja: error: build.ninja:521: multiple rules generate pm_java/pmdefaults.jar [-w dupbuild=err] +CMAKE_MAKEFILE_GENERATOR="emake" inherit cmake-utils desktop xdg distutils-r1 java-pkg-opt-2 DESCRIPTION="Library for real time MIDI input and output" @@ -26,7 +28,6 @@ BDEPEND=" dev-texlive/texlive-latexextra virtual/latex-base ) - java? ( >=virtual/jdk-1.8 ) python? ( >=dev-python/cython-0.12.1[${PYTHON_USEDEP}] ) " CDEPEND=" @@ -36,7 +37,10 @@ CDEPEND=" RDEPEND="${CDEPEND} java? ( >=virtual/jre-1.8 ) " -DEPEND="${CDEPEND}" +DEPEND=" + ${CDEPEND} + java? ( >=virtual/jdk-1.8 ) +" S="${WORKDIR}/${PN}"