summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2021-05-08 15:48:53 +0000
committerKeri Harris <keri@gentoo.org>2021-05-08 15:48:53 +0000
commit06eb7f8905cd46c682db68df34436d2052693bfc (patch)
tree93a11f391d67b4c9fcd3a752b92f54b4e65c0907 /dev-lang/swi-prolog
parentdev-lang/qu-prolog: fix python script shebangs. Closes 766066 (diff)
downloadgentoo-06eb7f8905cd46c682db68df34436d2052693bfc.tar.gz
gentoo-06eb7f8905cd46c682db68df34436d2052693bfc.tar.bz2
gentoo-06eb7f8905cd46c682db68df34436d2052693bfc.zip
dev-lang/swi-prolog: switch to cmake.eclass. Bug 780366.
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.2.3.ebuild14
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild14
2 files changed, 12 insertions, 16 deletions
diff --git a/dev-lang/swi-prolog/swi-prolog-8.2.3.ebuild b/dev-lang/swi-prolog/swi-prolog-8.2.3.ebuild
index fd14de31d5ca..f5cb5489517b 100644
--- a/dev-lang/swi-prolog/swi-prolog-8.2.3.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-8.2.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils flag-o-matic multilib
+inherit cmake flag-o-matic multilib
PATCHSET_VER="0"
@@ -27,9 +27,7 @@ RDEPEND="sys-libs/ncurses:=
readline? ( sys-libs/readline:= )
libedit? ( dev-libs/libedit )
gmp? ( dev-libs/gmp:0 )
- ssl? (
- dev-libs/openssl:0
- )
+ ssl? ( dev-libs/openssl:0 )
java? ( >=virtual/jdk-1.8:* )
uuid? ( dev-libs/ossp-uuid )
qt5? (
@@ -64,7 +62,7 @@ src_prepare() {
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
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -88,17 +86,17 @@ src_configure() {
-DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
XDG_CONFIG_DIRS="${HOME}" \
XDG_DATA_DIRS="${HOME}" \
- cmake-utils_src_compile
+ cmake_src_compile
}
src_test() {
USE_PUBLIC_NETWORK_TESTS=false \
USE_ODBC_TESTS=false \
- cmake-utils_src_test -V
+ cmake_src_test -V
}
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 2ea9f0c72e9c..81dffeb547e4 100644
--- a/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils flag-o-matic multilib
+inherit cmake flag-o-matic multilib
PATCHSET_VER="0"
@@ -26,9 +26,7 @@ RDEPEND="sys-libs/ncurses:=
readline? ( sys-libs/readline:= )
libedit? ( dev-libs/libedit )
gmp? ( dev-libs/gmp:0 )
- ssl? (
- dev-libs/openssl:0
- )
+ ssl? ( dev-libs/openssl:0 )
java? ( >=virtual/jdk-1.8:* )
uuid? ( dev-libs/ossp-uuid )
qt5? (
@@ -63,7 +61,7 @@ src_prepare() {
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
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -87,17 +85,17 @@ src_configure() {
-DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
XDG_CONFIG_DIRS="${HOME}" \
XDG_DATA_DIRS="${HOME}" \
- cmake-utils_src_compile
+ cmake_src_compile
}
src_test() {
USE_PUBLIC_NETWORK_TESTS=false \
USE_ODBC_TESTS=false \
- cmake-utils_src_test -V
+ cmake_src_test -V
}