diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-05 13:51:10 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-09 22:48:52 +0200 |
commit | c94c04a54579b3509a3dcb9736c6a0082710f249 (patch) | |
tree | 51abe8a9996098b68826c2a9319f569bc5b7e09a /dev-lang/swi-prolog | |
parent | sys-apps/pkgcore: Fix pmaint hang due to signal handler setup (diff) | |
download | gentoo-c94c04a54579b3509a3dcb9736c6a0082710f249.tar.gz gentoo-c94c04a54579b3509a3dcb9736c6a0082710f249.tar.bz2 gentoo-c94c04a54579b3509a3dcb9736c6a0082710f249.zip |
dev-lang/swi-prolog: Tidyup, drop multilib
- local mycmakeargs
- Drop superfluous and post-inherit BUILD_DIR, CMAKE_USE_DIR
- Drop superfluous eapply_user, done by cmake_src_prepare
Bug: https://bugs.gentoo.org/780366
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild | 16 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild | 22 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild | 16 |
3 files changed, 23 insertions, 31 deletions
diff --git a/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild b/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild index 9719353911ff..531032848810 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild @@ -3,11 +3,11 @@ EAPI=7 -inherit cmake desktop xdg-utils flag-o-matic multilib +inherit cmake desktop xdg-utils flag-o-matic PATCHSET_VER="0" -DESCRIPTION="versatile implementation of the Prolog programming language" +DESCRIPTION="Versatile implementation of the Prolog programming language" HOMEPAGE="https://www.swi-prolog.org/" SRC_URI="https://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz" @@ -49,17 +49,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +66,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +81,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure } diff --git a/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild b/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild index 81dffeb547e4..914c832b3536 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild @@ -3,13 +3,11 @@ EAPI=7 -inherit cmake flag-o-matic multilib +inherit cmake flag-o-matic -PATCHSET_VER="0" - -DESCRIPTION="versatile implementation of the Prolog programming language" -HOMEPAGE="http://www.swi-prolog.org/" -SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" +DESCRIPTION="Versatile implementation of the Prolog programming language" +HOMEPAGE="https://www.swi-prolog.org/" +SRC_URI="https://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" LICENSE="BSD-2" SLOT="0" @@ -49,17 +47,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +64,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +79,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure } diff --git a/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild b/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild index a6117bd15bc8..2a8883edddfd 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild @@ -3,11 +3,11 @@ EAPI=7 -inherit cmake desktop xdg-utils flag-o-matic multilib +inherit cmake desktop xdg-utils flag-o-matic PATCHSET_VER="0" -DESCRIPTION="versatile implementation of the Prolog programming language" +DESCRIPTION="Versatile implementation of the Prolog programming language" HOMEPAGE="https://www.swi-prolog.org/" SRC_URI="https://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" @@ -49,17 +49,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +66,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +81,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure } |