summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-06-17 00:56:16 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-06-17 00:56:16 +0000
commitf13b95a57360d711951c2c5c22b3d695cbea5acb (patch)
tree6175a9bfb10be9cd31bd452b03046d9158e49296 /sci-chemistry/shelx
parentmove inherit to the top (diff)
downloadgentoo-2-f13b95a57360d711951c2c5c22b3d695cbea5acb.tar.gz
gentoo-2-f13b95a57360d711951c2c5c22b3d695cbea5acb.tar.bz2
gentoo-2-f13b95a57360d711951c2c5c22b3d695cbea5acb.zip
(#75384) Add the dosformat USE flag, useful for mixed Linux/Windows environments.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'sci-chemistry/shelx')
-rw-r--r--sci-chemistry/shelx/ChangeLog7
-rw-r--r--sci-chemistry/shelx/shelx-20060317.ebuild10
2 files changed, 14 insertions, 3 deletions
diff --git a/sci-chemistry/shelx/ChangeLog b/sci-chemistry/shelx/ChangeLog
index 3e862a81c0d7..e26e1e9e22ea 100644
--- a/sci-chemistry/shelx/ChangeLog
+++ b/sci-chemistry/shelx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/shelx
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.1 2006/06/05 09:01:43 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.2 2006/06/17 00:56:16 spyderous Exp $
+
+ 17 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ shelx-20060317.ebuild:
+ (#75384) Add the dosformat USE flag, useful for mixed Linux/Windows
+ environments.
*shelx-20060317 (05 Jun 2006)
diff --git a/sci-chemistry/shelx/shelx-20060317.ebuild b/sci-chemistry/shelx/shelx-20060317.ebuild
index 96c08dd988a2..97a2506375ba 100644
--- a/sci-chemistry/shelx/shelx-20060317.ebuild
+++ b/sci-chemistry/shelx/shelx-20060317.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/shelx-20060317.ebuild,v 1.1 2006/06/05 09:01:43 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/shelx-20060317.ebuild,v 1.2 2006/06/17 00:56:16 spyderous Exp $
inherit autotools eutils fortran
@@ -14,7 +14,7 @@ RESTRICT="fetch"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="dosformat"
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
@@ -36,6 +36,12 @@ src_unpack() {
-e "s:CIFDIR='/usr/local/bin/':CIFDIR='${ROOT}usr/share/${PN}/':g" \
"${S}"/ciftab.f
+ if use dosformat; then
+ sed -i \
+ -e "s/KD=CHAR(32)/KD=CHAR(13)/g" \
+ "${S}"/*f
+ fi
+
cd "${S}"
eautoreconf
}