summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-11-30 19:19:32 +0100
committerTupone Alfredo <tupone@gentoo.org>2017-11-30 19:19:32 +0100
commited8058dcf99ea3279e4e1e9b7a1564089939d885 (patch)
treeeef9335ac8abd81649571cc2959ddb91830420a7 /dev-ada
parentdev-ada/aws: Defaulting some use flags (diff)
downloadgentoo-ed8058dcf99ea3279e4e1e9b7a1564089939d885.tar.gz
gentoo-ed8058dcf99ea3279e4e1e9b7a1564089939d885.tar.bz2
gentoo-ed8058dcf99ea3279e4e1e9b7a1564089939d885.zip
dev-ada/gnatmem: Defaulting some use flags
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gnatmem/Manifest4
-rw-r--r--dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch89
-rw-r--r--dev-ada/gnatmem/gnatmem-2016.ebuild4
-rw-r--r--dev-ada/gnatmem/gnatmem-2017.ebuild6
4 files changed, 9 insertions, 94 deletions
diff --git a/dev-ada/gnatmem/Manifest b/dev-ada/gnatmem/Manifest
index 2669213c4151..4e74a9f5fdd9 100644
--- a/dev-ada/gnatmem/Manifest
+++ b/dev-ada/gnatmem/Manifest
@@ -1,2 +1,2 @@
-DIST gnatmem-gpl-2016-src.tar.gz 80104 SHA256 bd39c7b18e4f52fdd029b999f7e1af52d01c975063c28ae1ef6875e4fc5e224f SHA512 bc711af9eda55e89a22fee9dbe506a60fbdd718a9f47141a8d13ad4b97c4520c3988e3a55b6c85bb53098e542f655de9572aeefc99d88c41a2645d9f01b2828b WHIRLPOOL 8aee794c18efcbdbb50a4d58b9f247de30dea8d5b0a41034b1e20ad7786eefab5dfd14bf99994340a993d67989eab939ba78097d46933d841686d1bbc68fce0b
-DIST gnatmem-gpl-2017-src.tar.gz 80106 SHA256 11a27a66030b1a074875ccdaa0ffb06e86d687e1904ab0f5922e08bb488e5e7c SHA512 52ba2cfb24314f481ec07e351ff6d8883753dcfe5d0489a78536bf0b841d931055be02271a5d93b2ec15c52fd775d4b177a17de52f9472cc8f352bf044b28897 WHIRLPOOL 6599c8b77e89d7bc1f6b1eea459009aa2626173a7ebe47b65ead3ba76a109699ff8d0f27cfe1cea9fb0a8cb90cf9a897f70cf8af4647f21feec87b422e544c1b
+DIST gnatmem-gpl-2016-src.tar.gz 80104 BLAKE2B c7ccdf4a8b2c91117550592763c467a32befc00ad3fa6488963635be283d6e84dd572123d9586166af215dd845aa785f5953dae7fadca6e49fbb6004af0576fa SHA512 bc711af9eda55e89a22fee9dbe506a60fbdd718a9f47141a8d13ad4b97c4520c3988e3a55b6c85bb53098e542f655de9572aeefc99d88c41a2645d9f01b2828b
+DIST gnatmem-gpl-2017-src.tar.gz 80106 BLAKE2B 81f5b2fe4cacf383a39230bf3ebbbbfce0cd0a774b0289a78774dacedbfa0f2ca385b5538e1d12a075383158ff3c657d3a645f8f08be62fe6a437c9f7cd4b971 SHA512 52ba2cfb24314f481ec07e351ff6d8883753dcfe5d0489a78536bf0b841d931055be02271a5d93b2ec15c52fd775d4b177a17de52f9472cc8f352bf044b28897
diff --git a/dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch b/dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch
deleted file mode 100644
index 69530dd24b23..000000000000
--- a/dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch
+++ /dev/null
@@ -1,89 +0,0 @@
---- 1/configure.in.old 2016-12-08 20:57:53.942004080 +0100
-+++ 1/configure.in 2016-12-08 21:00:10.393677257 +0100
-@@ -2,23 +2,14 @@
- AC_INIT(gnatmem.gpr.in)
- AC_CANONICAL_SYSTEM
- AC_PROG_CC(gcc)
--AC_CHECK_TOOL(GNATBIND,gnatbind,"no")
--if test ${GNATBIND} = "no"; then
-- AC_MSG_ERROR(Ada compiler needed,1)
--fi
-+AC_CONFIG_HEADERS(config.h:config.in)
-+AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
- AC_ARG_WITH(binutils-buildtree,
- [AC_HELP_STRING(
- [--with-binutils-buildtree=<dir>],
- [Specifify location of binutils build tree])],
- BINUTILS_OBJDIR=$withval,
- BINUTILS_OBJDIR=no)
--AC_MSG_CHECKING([for binutils build tree validity])
--if test -f "$BINUTILS_OBJDIR/bfd/libbfd.a"; then
-- AC_MSG_RESULT(yes)
--else
-- AC_MSG_RESULT(no)
-- AC_MSG_FAILURE([need valid binutils build tree directory (got $BINUTILS_OBJDIR)])
--fi
-
- AC_ARG_WITH(binutils-sources,
- [AC_HELP_STRING(
-@@ -26,21 +21,6 @@
- [Specifify location of binutils sources])],
- BINUTILS_SRCDIR=$withval,
- BINUTILS_SRCDIR=auto)
--if test "$BINUTILS_SRCDIR" = "auto"; then
-- BINUTILS_SRCDIR=`cat "$BINUTILS_OBJDIR/Makefile" | sed -n -e "/^ *srcdir *=/ s/^ *srcdir *= *// p"`
-- case "$BINUTILS_SRC_DIR" in
-- /*) ;;
-- *) # assume we have relative path
-- BINUTILS_SRCDIR="$BINUTILS_OBJDIR/$BINUTILS_SRCDIR";;
-- esac
--fi
--AC_MSG_CHECKING([for binutils source dir validity])
--if test -f "$BINUTILS_SRCDIR/bfd/Makefile.in"; then
-- AC_MSG_RESULT(yes)
--else
-- AC_MSG_RESULT(no)
-- AC_MSG_FAILURE([need valid binutils sources directory])
--fi
-
- AC_SUBST(BINUTILS_OBJDIR)
- AC_SUBST(BINUTILS_SRCDIR)
---- gnatmem-gpl-2016-src/gnatmem.gpr.in.old 2017-02-02 22:15:30.247906007 +0100
-+++ gnatmem-gpl-2016-src/gnatmem.gpr.in 2017-02-02 22:17:22.604974363 +0100
-@@ -10,8 +10,10 @@
- for Languages use ("ada", "c");
-
- package Compiler is
-+ for Driver ("C") use External ("CC", "gcc");
- for Default_Switches ("ada") use ("-O2", "-W", "-Wall", "-gnatpg");
- for Default_Switches ("c") use ("-O2",
-+ "-I..",
- "-I" & BINUTILS_OBJDIR & "/binutils",
- "-I" & BINUTILS_OBJDIR & "/bfd",
- "-I" & BINUTILS_SRCDIR & "/include");
-@@ -19,8 +21,8 @@
-
- package Linker is
- for Default_Switches ("ada") use
-- (BINUTILS_OBJDIR & "/bfd/libbfd.a",
-- BINUTILS_OBJDIR & "/libiberty/libiberty.a",
-+ ("-lbfd",
-+ "-liberty",
- "@LIBDL@",
- "@LIBZ@");
- end Linker;
---- gnatmem-gpl-2015-src/src/libaddr2line.c.old 2017-01-04 21:03:36.185233702 +0100
-+++ gnatmem-gpl-2015-src/src/libaddr2line.c 2017-01-04 21:04:17.680455390 +0100
-@@ -23,9 +23,9 @@
- #include <string.h>
- #include <stdlib.h>
-
--#include "bfd.h"
--#include "libiberty.h"
--#include "demangle.h"
-+#include <bfd.h>
-+#include <libiberty/libiberty.h>
-+#include <libiberty/demangle.h>
-
- static asymbol **cur_syms; /* Symbol table. */
- static bfd *cur_bfd;
diff --git a/dev-ada/gnatmem/gnatmem-2016.ebuild b/dev-ada/gnatmem/gnatmem-2016.ebuild
index 5875024baefd..1b7bae00d069 100644
--- a/dev-ada/gnatmem/gnatmem-2016.ebuild
+++ b/dev-ada/gnatmem/gnatmem-2016.ebuild
@@ -14,11 +14,13 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/573995c8c7a447658e0affa2 -> ${MYP}.t
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 gnat_2017"
+IUSE="+gnat_2016 gnat_2017"
RDEPEND=""
DEPEND="dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
+REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )"
+
S="${WORKDIR}"/${MYP}
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
diff --git a/dev-ada/gnatmem/gnatmem-2017.ebuild b/dev-ada/gnatmem/gnatmem-2017.ebuild
index ee97065ed89f..c9a384fa74dc 100644
--- a/dev-ada/gnatmem/gnatmem-2017.ebuild
+++ b/dev-ada/gnatmem/gnatmem-2017.ebuild
@@ -14,14 +14,16 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed033 -> ${MYP}.t
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 gnat_2017"
+IUSE="gnat_2016 +gnat_2017"
RDEPEND=""
DEPEND="dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
+REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )"
+
S="${WORKDIR}"/${MYP}
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
src_prepare() {
default