summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-10-28 13:28:19 +0000
committerDavid Holm <dholm@gentoo.org>2003-10-28 13:28:19 +0000
commite47cbfe325c6b367d6cf569c2fa02db72bf385dc (patch)
treea7c035f1938526dfe3c142905381c641264d3215 /dev-ada
parentFixed env problem (diff)
downloadgentoo-2-e47cbfe325c6b367d6cf569c2fa02db72bf385dc.tar.gz
gentoo-2-e47cbfe325c6b367d6cf569c2fa02db72bf385dc.tar.bz2
gentoo-2-e47cbfe325c6b367d6cf569c2fa02db72bf385dc.zip
Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/ChangeLog5
-rw-r--r--dev-ada/xmlada/Manifest4
-rw-r--r--dev-ada/xmlada/xmlada-0.7.1-r2.ebuild19
3 files changed, 23 insertions, 5 deletions
diff --git a/dev-ada/xmlada/ChangeLog b/dev-ada/xmlada/ChangeLog
index f88f21fa0962..06d8ec8487d5 100644
--- a/dev-ada/xmlada/ChangeLog
+++ b/dev-ada/xmlada/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ada/xmlada
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.7 2003/10/06 00:15:54 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.8 2003/10/28 13:28:13 dholm Exp $
+
+ 28 Oct 2003; David Holm <dholm@gentoo.org> xmlada-0.7.1-r2.ebuild:
+ Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH.
06 Oct 2003; David Holm <dholm@gentoo.org> xmlada-0.7.1-r1.ebuild,
xmlada-0.7.1-r2.ebuild, xmlada-0.7.1.ebuild:
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest
index 6146ad0ae618..ffc7c339ba7e 100644
--- a/dev-ada/xmlada/Manifest
+++ b/dev-ada/xmlada/Manifest
@@ -1,4 +1,4 @@
-MD5 181f42bbb79c84d22732ff2e3271d400 ChangeLog 1571
+MD5 21af081cc3db5b66e8c96a77ba8198e5 ChangeLog 1691
MD5 e1d1b17d24932d84db6122c279bf6008 metadata.xml 938
-MD5 a3890bd10a77ff83a4fe7d544af342e5 xmlada-0.7.1-r2.ebuild 2172
+MD5 af85a1859d04b9b8b1c4f8d572f0d927 xmlada-0.7.1-r2.ebuild 2687
MD5 9d2b99c18fffcb88c4d56d762a271e19 files/digest-xmlada-0.7.1-r2 61
diff --git a/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild b/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild
index 8f80006ca72f..ecb4cdc55347 100644
--- a/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild
+++ b/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild,v 1.3 2003/10/06 00:15:54 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-0.7.1-r2.ebuild,v 1.4 2003/10/28 13:28:13 dholm Exp $
inherit gnat
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
-DEPEND="dev-lang/gnat"
+DEPEND=">=dev-lang/gnat-3.14p"
RDEPEND=""
@@ -78,4 +78,19 @@ src_install ()
dosym /usr/lib/ada/adalib/xmlada/libxmlada_input_sources.so /usr/lib
dosym /usr/lib/ada/adalib/xmlada/libxmlada_sax.so /usr/lib
dosym /usr/lib/ada/adalib/xmlada/libxmlada_unicode.so /usr/lib
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55xmlada
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55xmlada
+}
+
+pkg_postinst() {
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "XmlAda. In order to immediately activate these settings please do:"
+ einfo "env-update"
+ einfo "source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
}