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
commitb3999d0832441f0083acfbb3ecab8f603bd0de5c (patch)
tree30e908f2f8aa7585f8081c7067c7f198324a251a /dev-lang/opendylan/opendylan-9999.ebuild
parentMinor cleanups (diff)
downloadgentoo-2-b3999d0832441f0083acfbb3ecab8f603bd0de5c.tar.gz
gentoo-2-b3999d0832441f0083acfbb3ecab8f603bd0de5c.tar.bz2
gentoo-2-b3999d0832441f0083acfbb3ecab8f603bd0de5c.zip
Minor cleanups
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/opendylan/opendylan-9999.ebuild')
-rw-r--r--dev-lang/opendylan/opendylan-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
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"
}