summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-20 18:52:12 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-20 18:52:12 +0100
commit32f323a0bb67c3a8db2c686d3b2aad9e265ffa88 (patch)
treeddaf43dd44be1a62980a7f6616245f72efc3afd4 /dev-ada/gnatcoll-db
parentdev-ada/gnatcoll-bindings: Stabilize (diff)
downloadgentoo-32f323a0bb67c3a8db2c686d3b2aad9e265ffa88.tar.gz
gentoo-32f323a0bb67c3a8db2c686d3b2aad9e265ffa88.tar.bz2
gentoo-32f323a0bb67c3a8db2c686d3b2aad9e265ffa88.zip
dev-ada/gnatcoll-db: Stabilize
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ada/gnatcoll-db')
-rw-r--r--dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch10
-rw-r--r--dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild7
2 files changed, 2 insertions, 15 deletions
diff --git a/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch b/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch
index e6d5119aed4e..9d95a9bfc1c4 100644
--- a/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch
+++ b/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch
@@ -9,13 +9,3 @@
Thread_Lib := ();
---- a/postgres/gnatcoll_postgres.gpr 2018-06-24 16:39:56.345322365 +0200
-+++ b/postgres/gnatcoll_postgres.gpr 2018-06-24 16:40:30.737772583 +0200
-@@ -81,6 +81,7 @@
- for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwaCJ");
- for Switches ("C") use ("-O2", "-Wunreachable-code") & PQP_Flag;
- end case;
-+ for Driver ("C") use External ("GCC", "gcc");
- end Compiler;
-
- package Binder is
diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild
index 48085f332679..b954b8f73271 100644
--- a/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild
+++ b/dev-ada/gnatcoll-db/gnatcoll-db-2018.ebuild
@@ -29,8 +29,7 @@ RDEPEND="dev-ada/gnatcoll-core[gnat_2016=,gnat_2017=,gnat_2018=]
DEPEND="${RDEPEND}
dev-ada/gprbuild[gnat_2016=,gnat_2017=,gnat_2018=]"
-REQUIRED_USE="!gnat_2016
- gnatinspect? ( xref )
+REQUIRED_USE="gnatinspect? ( xref )
xref? ( sqlite )
sqlite? ( sql )
gnatcoll_db2ada? ( sql )"
@@ -40,10 +39,8 @@ S="${WORKDIR}"/${MYP}-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
- GCC_PV=7.3.1
build () {
- GCC=${CHOST}-gcc-${GCC_PV} \
- GPR_PROJECT_PATH="${S}/sql":"${S}/sqlite":"${S}/xref" \
+ GPR_PROJECT_PATH="${S}/sql":"${S}/sqlite":"${S}/xref" \
gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \
-XGNATCOLL_VERSION=2018 \
-XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \