summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-08-21 08:30:04 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-08-21 08:30:04 +0000
commiteede7598af987653196c23e599ea495e33dd2fe1 (patch)
tree970c391fe0a797ffa14ce310d53767c5e5358041 /dev-lang/opendylan
parentVersion bump, bug and security fixes. Bug #431574 (diff)
downloadhistorical-eede7598af987653196c23e599ea495e33dd2fe1.tar.gz
historical-eede7598af987653196c23e599ea495e33dd2fe1.tar.bz2
historical-eede7598af987653196c23e599ea495e33dd2fe1.zip
Minor cleanups
Package-Manager: portage-2.2.0_alpha121/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/opendylan')
-rw-r--r--dev-lang/opendylan/ChangeLog6
-rw-r--r--dev-lang/opendylan/opendylan-2011.1-r1.ebuild6
-rw-r--r--dev-lang/opendylan/opendylan-9999.ebuild6
3 files changed, 15 insertions, 3 deletions
diff --git a/dev-lang/opendylan/ChangeLog b/dev-lang/opendylan/ChangeLog
index 38a230f3d331..49eaaf6578bf 100644
--- a/dev-lang/opendylan/ChangeLog
+++ b/dev-lang/opendylan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/opendylan
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/ChangeLog,v 1.2 2012/08/21 05:22:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/ChangeLog,v 1.3 2012/08/21 08:30:04 patrick Exp $
+
+ 21 Aug 2012; Patrick Lauer <patrick@gentoo.org> opendylan-2011.1-r1.ebuild,
+ opendylan-9999.ebuild:
+ Minor cleanups
*opendylan-9999 (21 Aug 2012)
*opendylan-2011.1-r1 (21 Aug 2012)
diff --git a/dev-lang/opendylan/opendylan-2011.1-r1.ebuild b/dev-lang/opendylan/opendylan-2011.1-r1.ebuild
index 1c06fbf941e6..789a4797c735 100644
--- a/dev-lang/opendylan/opendylan-2011.1-r1.ebuild
+++ b/dev-lang/opendylan/opendylan-2011.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-2011.1-r1.ebuild,v 1.1 2012/08/21 05:22:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-2011.1-r1.ebuild,v 1.2 2012/08/21 08:30:04 patrick Exp $
EAPI=4
inherit autotools
@@ -39,6 +39,8 @@ src_prepare() {
src_configure() {
if has_version =dev-lang/opendylan-bin-2011.1; then
PATH=/opt/opendylan-2011.1/bin/:$PATH
+ else
+ PATH=/opt/opendylan/bin:$PATH
fi
econf --prefix=/opt/opendylan || die
}
@@ -53,4 +55,6 @@ src_install() {
# because of Makefile weirdness it rebuilds quite a bit here
# upstream has been notified
emake -j1 DESTDIR=${D} install
+ mkdir -p "${D}/etc/env.d/opendylan/"
+ echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
}
diff --git a/dev-lang/opendylan/opendylan-9999.ebuild b/dev-lang/opendylan/opendylan-9999.ebuild
index 861b92158a5e..d99517411dd0 100644
--- a/dev-lang/opendylan/opendylan-9999.ebuild
+++ b/dev-lang/opendylan/opendylan-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-9999.ebuild,v 1.1 2012/08/21 05:22:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-9999.ebuild,v 1.2 2012/08/21 08:30:04 patrick Exp $
EAPI=4
inherit autotools git-2
@@ -37,6 +37,8 @@ src_prepare() {
src_configure() {
if has_version =dev-lang/opendylan-bin-2011.1; then
PATH=/opt/opendylan-2011.1/bin/:$PATH
+ else
+ PATH=/opt/opendylan/bin/:$PATH
fi
econf --prefix=/opt/opendylan || die
}
@@ -51,4 +53,6 @@ src_install() {
# because of Makefile weirdness it rebuilds quite a bit here
# upstream has been notified
emake -j1 DESTDIR=${D} install
+ mkdir -p "${D}/etc/env.d/opendylan/"
+ echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/opendylan" || die "Failed to add env settings"
}