commit:     60981a57c933d8f338a16210dd2a7ee14543a62e
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon May  8 19:23:07 2017 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon May  8 19:23:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60981a57

dev-ada/xmlada: Add dev-ada/xmlada-9999

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-ada/xmlada/files/xmlada-2016-gentoo.patch             |  9 ---------
 dev-ada/xmlada/xmlada-2016.ebuild                         |  4 ++++
 dev-ada/xmlada/{xmlada-2016.ebuild => xmlada-9999.ebuild} | 13 ++++++++-----
 3 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/dev-ada/xmlada/files/xmlada-2016-gentoo.patch 
b/dev-ada/xmlada/files/xmlada-2016-gentoo.patch
index e167c1df145..def06255cf5 100644
--- a/dev-ada/xmlada/files/xmlada-2016-gentoo.patch
+++ b/dev-ada/xmlada/files/xmlada-2016-gentoo.patch
@@ -1,14 +1,5 @@
 --- xmlada-2016-src/Makefile.in.old    2016-12-04 21:58:57.251338692 +0100
 +++ xmlada-2016-src/Makefile.in        2016-12-04 21:59:31.332755615 +0100
-@@ -7,7 +7,7 @@
- PACKAGE_TARNAME=@PACKAGE_TARNAME@
- VERSION=@PACKAGE_VERSION@
- BUILDS_SHARED=@GNAT_BUILDS_SHARED@
--prefix=@prefix@
-+prefix=$(DESTDIR)@prefix@
- 
- # Set a default value (ignored if set in the environment)
- PROCESSORS?=0
 @@ -49,13 +49,13 @@
  endif
  

diff --git a/dev-ada/xmlada/xmlada-2016.ebuild 
b/dev-ada/xmlada/xmlada-2016.ebuild
index a6cef15df53..793f92040c8 100644
--- a/dev-ada/xmlada/xmlada-2016.ebuild
+++ b/dev-ada/xmlada/xmlada-2016.ebuild
@@ -25,6 +25,10 @@ S="${WORKDIR}"/${MYP}-src
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
+src_configure () {
+       econf --prefix="${D}"/usr
+}
+
 src_compile () {
        for kind in shared static static-pic; do
                if use ${kind}; then

diff --git a/dev-ada/xmlada/xmlada-2016.ebuild 
b/dev-ada/xmlada/xmlada-9999.ebuild
similarity index 81%
copy from dev-ada/xmlada/xmlada-2016.ebuild
copy to dev-ada/xmlada/xmlada-9999.ebuild
index a6cef15df53..5c1f5b3d25b 100644
--- a/dev-ada/xmlada/xmlada-2016.ebuild
+++ b/dev-ada/xmlada/xmlada-9999.ebuild
@@ -3,17 +3,18 @@
 
 EAPI=6
 
-inherit multiprocessing
+inherit git-r3 multiprocessing
 
 MYP=${PN}-gpl-${PV}
 
 DESCRIPTION="Set of modules that provide a simple manipulation of XML streams"
 HOMEPAGE="http://libre.adacore.com/";
-SRC_URI="http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 -> 
${MYP}-src.tar.gz"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/AdaCore/xmlada.git";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS=""
 IUSE="+shared static static-pic"
 REQUIRED_USE="|| ( shared static static-pic )"
 
@@ -21,9 +22,11 @@ RDEPEND="dev-lang/gnat-gpl"
 DEPEND="${RDEPEND}
        dev-ada/gprbuild"
 
-S="${WORKDIR}"/${MYP}-src
+PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+src_configure () {
+       econf --prefix="${D}"/usr
+}
 
 src_compile () {
        for kind in shared static static-pic; do

Reply via email to