summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-01-10 04:43:04 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-01-10 04:43:04 +0000
commit427bb4761bccc463f5d9f7e0185f63f5f7ea5f89 (patch)
tree8300df059cbf86359ca9d19b839f690ba0a01aab /sci-chemistry/cns/cns-1.2-r1.ebuild
parentVersion bump. (diff)
downloadgentoo-2-427bb4761bccc463f5d9f7e0185f63f5f7ea5f89.tar.gz
gentoo-2-427bb4761bccc463f5d9f7e0185f63f5f7ea5f89.tar.bz2
gentoo-2-427bb4761bccc463f5d9f7e0185f63f5f7ea5f89.zip
Add a patch to make CNS compile on unknown architecture/OS combinations, of which ppc is one.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'sci-chemistry/cns/cns-1.2-r1.ebuild')
-rw-r--r--sci-chemistry/cns/cns-1.2-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/cns/cns-1.2-r1.ebuild b/sci-chemistry/cns/cns-1.2-r1.ebuild
index e7884ca2f74c..88c264056f92 100644
--- a/sci-chemistry/cns/cns-1.2-r1.ebuild
+++ b/sci-chemistry/cns/cns-1.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.2-r1.ebuild,v 1.1 2007/12/07 08:58:57 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.2-r1.ebuild,v 1.2 2008/01/10 04:43:03 dberkholz Exp $
inherit eutils fortran toolchain-funcs
@@ -37,6 +37,8 @@ src_unpack() {
# http://gcc.gnu.org/ml/fortran/2006-02/msg00198.html
epatch "${FILESDIR}"/1.1-time-length-10.patch
+ epatch "${FILESDIR}"/1.2-allow-unknown-architectures.patch
+
# Set up location for the build directory
# Uses obsolete `sort` syntax, so we set _POSIX2_VERSION
sed -i \