diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-01-10 04:43:04 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-01-10 04:43:04 +0000 |
commit | 16357bde0e823725e5d5e526c820803aa8de5537 (patch) | |
tree | ae7d790804a2c3c9bd04addbe45abc7ea578b122 /sci-chemistry | |
parent | Version bump. (diff) | |
download | historical-16357bde0e823725e5d5e526c820803aa8de5537.tar.gz historical-16357bde0e823725e5d5e526c820803aa8de5537.tar.bz2 historical-16357bde0e823725e5d5e526c820803aa8de5537.zip |
Add a patch to make CNS compile on unknown architecture/OS combinations, of which ppc is one.
Package-Manager: portage-2.1.4_rc9
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/cns/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/cns/Manifest | 26 | ||||
-rw-r--r-- | sci-chemistry/cns/cns-1.2-r1.ebuild | 6 | ||||
-rw-r--r-- | sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch | 15 |
4 files changed, 41 insertions, 15 deletions
diff --git a/sci-chemistry/cns/ChangeLog b/sci-chemistry/cns/ChangeLog index 2e3b8243b953..f92b68b7bdd5 100644 --- a/sci-chemistry/cns/ChangeLog +++ b/sci-chemistry/cns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/cns -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/ChangeLog,v 1.8 2007/12/07 08:58:57 dberkholz Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/ChangeLog,v 1.9 2008/01/10 04:43:03 dberkholz Exp $ + + 10 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + +files/1.2-allow-unknown-architectures.patch, cns-1.2-r1.ebuild: + Add a patch to make CNS compile on unknown architecture/OS combinations, of + which ppc is one. *cns-1.2-r1 (07 Dec 2007) diff --git a/sci-chemistry/cns/Manifest b/sci-chemistry/cns/Manifest index ec9923e75a6e..dc7b0f8bd395 100644 --- a/sci-chemistry/cns/Manifest +++ b/sci-chemistry/cns/Manifest @@ -5,6 +5,10 @@ AUX 1.1-time-length-10.patch 443 RMD160 664ae29ccb2921954ffb14653e4560ed2bef1fa4 MD5 53591c4f04cc3ac9c21ba8da86ffa24b files/1.1-time-length-10.patch 443 RMD160 664ae29ccb2921954ffb14653e4560ed2bef1fa4 files/1.1-time-length-10.patch 443 SHA256 73ca56b80588aabd513d6f5171db1217189899e04b5e460a55824eef13c5505a files/1.1-time-length-10.patch 443 +AUX 1.2-allow-unknown-architectures.patch 540 RMD160 559f16141025b3d102a316af79ba0ee195846774 SHA1 d168a0413aab5e84ea48f1de5e0a84bc7206fcc7 SHA256 47f398e4c534f01eb64a1c68d477d21a8371707a0977b900d9f2124d3d37243d +MD5 d5fd3feaa51cf835916d96dd0df8c2cb files/1.2-allow-unknown-architectures.patch 540 +RMD160 559f16141025b3d102a316af79ba0ee195846774 files/1.2-allow-unknown-architectures.patch 540 +SHA256 47f398e4c534f01eb64a1c68d477d21a8371707a0977b900d9f2124d3d37243d files/1.2-allow-unknown-architectures.patch 540 DIST cns_solve_1.1_basic_inputs.tar.gz 5049767 RMD160 eb5686a006d53cf269456eaecd7507842c8a10eb SHA1 255e7c5170168f9e032ef9e84a870eddf176f4ce SHA256 916d86d96159bd945a3b05e26c71af0cc6097234776385630f618fa2641cf3eb DIST cns_solve_1.1_data.tar.gz 18770504 RMD160 a18470f31fa6213e817dadf3c3c56231ebce9e63 SHA1 3eaae5ecd1df14412083af8a31a6e3f7b14c4753 SHA256 da59213013b845ca357decfc11337c7dfdb3134bd012c710291c66e8febdbb37 DIST cns_solve_1.1_test.tar.gz 2852870 RMD160 2f7e7b5ed4e603b2459944a8991829d1361315b5 SHA1 c50587cf3fdfcb1266d13dbd689a9b8b094fb681 SHA256 c5d049596cca4f6985b0b4997f4fa62345d2c111b8fab534918829ade1899a23 @@ -13,18 +17,18 @@ EBUILD cns-1.1.ebuild 3627 RMD160 7afb52c6e1fb8fb0dad02f7cadf00753394a43de SHA1 MD5 b89c4d5f044c8d6d7155855dd49dea76 cns-1.1.ebuild 3627 RMD160 7afb52c6e1fb8fb0dad02f7cadf00753394a43de cns-1.1.ebuild 3627 SHA256 80af06cf6075ad20db398ef3c6cbec8c5e92bee09d039fcdcc0634a7db2c6146 cns-1.1.ebuild 3627 -EBUILD cns-1.2-r1.ebuild 4435 RMD160 ed8f0c0b7117ff01442250d3a5e2d89cf35a3db3 SHA1 8a5cff0418ae8f94f9e8029ad6163158ad8e8961 SHA256 34433aec245c50dbb1d516c2807806f916199e41e73ad520308df42d367ef08d -MD5 ff3a216778af83d2e937ab5d2ae900f7 cns-1.2-r1.ebuild 4435 -RMD160 ed8f0c0b7117ff01442250d3a5e2d89cf35a3db3 cns-1.2-r1.ebuild 4435 -SHA256 34433aec245c50dbb1d516c2807806f916199e41e73ad520308df42d367ef08d cns-1.2-r1.ebuild 4435 +EBUILD cns-1.2-r1.ebuild 4496 RMD160 e577358970755002334141f63546948b6e3d61ad SHA1 47b850adfd1921f0ce32b2690a4d32130f21827a SHA256 41ece99007b89f6f7ac19a48e122491bc8e77e733298d024348facff17c13685 +MD5 2046f3aeb132456649bb9c9f8b87444d cns-1.2-r1.ebuild 4496 +RMD160 e577358970755002334141f63546948b6e3d61ad cns-1.2-r1.ebuild 4496 +SHA256 41ece99007b89f6f7ac19a48e122491bc8e77e733298d024348facff17c13685 cns-1.2-r1.ebuild 4496 EBUILD cns-1.2.ebuild 3526 RMD160 9179b57dcbbe8d75b97fa6abf8568213dbe85fd6 SHA1 3d8b846fb0e7d479d3c7cf97f31b76ca8ae012a8 SHA256 10324bf7c2f0dad705ff2c4c51c8d17c7469a4e0d18d08ea2f4e3b8fa1f974c9 MD5 cad9887e9edc4445e3c3814e4ae34b5d cns-1.2.ebuild 3526 RMD160 9179b57dcbbe8d75b97fa6abf8568213dbe85fd6 cns-1.2.ebuild 3526 SHA256 10324bf7c2f0dad705ff2c4c51c8d17c7469a4e0d18d08ea2f4e3b8fa1f974c9 cns-1.2.ebuild 3526 -MISC ChangeLog 1564 RMD160 b9fcf8df82a39277db340978cf5ae7e73c3a53eb SHA1 f59bc5a6b8e8da8f9c885cef45fb7fa771f38679 SHA256 be4a7ca6bbd4219d6b74f273d7888a652cd62e38f24afccedda878167e8cec23 -MD5 a299584af66525e3815a94310562d51e ChangeLog 1564 -RMD160 b9fcf8df82a39277db340978cf5ae7e73c3a53eb ChangeLog 1564 -SHA256 be4a7ca6bbd4219d6b74f273d7888a652cd62e38f24afccedda878167e8cec23 ChangeLog 1564 +MISC ChangeLog 1785 RMD160 b16ca6d95993434b016a6e4bcce3a557fdcfe535 SHA1 788a62b69bc642349796269ca86b21c67e38ce28 SHA256 09dd6837e93630bccdd01a02daffc1fbe32d208e0c7a9d5831091c1ea53f3e50 +MD5 c5c43d861bbb3db120f93b89bf188556 ChangeLog 1785 +RMD160 b16ca6d95993434b016a6e4bcce3a557fdcfe535 ChangeLog 1785 +SHA256 09dd6837e93630bccdd01a02daffc1fbe32d208e0c7a9d5831091c1ea53f3e50 ChangeLog 1785 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852 MD5 43628e9f5743b5c3b018a82669a76bc7 metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 metadata.xml 166 @@ -41,7 +45,7 @@ SHA256 a5448713d044cf6c88894266096a09518a40cd515df46820f6577175cea5d2ed files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHWQtdXVaO67S1rtsRAts/AKDhNcEA3z7atS+HREnCZ/eaNtdwAACeMWMk -e785WsTm/pqKHkKJvIQW4vA= -=6Bhl +iD8DBQFHhaJhXVaO67S1rtsRAu97AKD0GAMat8CLs9ST+N+0fCz2c24b4QCgyxrC +c2K960y8lpe++o0Wv2umCoc= +=0r4H -----END PGP SIGNATURE----- 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 \ diff --git a/sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch b/sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch new file mode 100644 index 000000000000..327ffb2811b3 --- /dev/null +++ b/sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch @@ -0,0 +1,15 @@ +--- cns_solve_1.2.orig/bin/install 2008-01-09 17:21:43.000000000 -0800 ++++ cns_solve_1.2/bin/install 2008-01-09 17:21:59.000000000 -0800 +@@ -78,12 +78,6 @@ + exit 1 + endif + # +-if ( $CNS_ARCH =~ unknown* ) then +- echo "the architecture of the machine is unknown - CNS_ARCH=$CNS_ARCH" +- echo 'aborting installation' +- exit 1 +-endif +-# + set prod=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $1}'` + set cpu=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $2}' | sed 's/[0-9]*\.*[0-9]*$//'` + set os=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $3}'` |