summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2009-05-18 04:35:45 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2009-05-18 04:35:45 +0000
commitd55b76d1a79e8fc441bc0868a13e3617f58c158a (patch)
treecb20ce70522cd4fca55cbc45ebc921627c3fd096 /sci-chemistry
parentLatest for testing radeonhd (diff)
downloadje_fro-d55b76d1a79e8fc441bc0868a13e3617f58c158a.tar.gz
je_fro-d55b76d1a79e8fc441bc0868a13e3617f58c158a.tar.bz2
je_fro-d55b76d1a79e8fc441bc0868a13e3617f58c158a.zip
bit of work
svn path=/; revision=278
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/namd/Manifest4
-rw-r--r--sci-chemistry/namd/namd-2.7.ebuild20
2 files changed, 9 insertions, 15 deletions
diff --git a/sci-chemistry/namd/Manifest b/sci-chemistry/namd/Manifest
index 4c8db39..889edd9 100644
--- a/sci-chemistry/namd/Manifest
+++ b/sci-chemistry/namd/Manifest
@@ -1,5 +1,3 @@
AUX namd-2.6-gentoo-amd64.patch 3603 RMD160 c73b9a273716c430004d87d36551a5474e6d3288 SHA1 a815851f7ebc8bb2533f38bb24b529765f2e6c54 SHA256 17f60d6add2b777726507c5badaf4dc5e0eb947d2c49c2562eda242aa8384435
-DIST NAMD_2.6_Source.tar.gz 8963319 RMD160 186f79322226a20398031618011104a666237298 SHA1 3b3d83fdc54a520cb6c59b34cde03c9f74d2f443 SHA256 bf353ff13eae18b5a8dc33d79d295e9fe73fb87482858309b7695ce3e24f0d0b
DIST NAMD_2.7b1_Source.tar.gz 26302404 RMD160 ccb73606d3f0724c55ce022aa130656444825f5e SHA1 955e096a6c70e1e7786d10334bec3cae1eb4fff6 SHA256 cf48b659667fe9e03af27c8d434567525e924ebd08c801321c71361a8f166b2e
-EBUILD namd-2.6.ebuild 2191 RMD160 6455f4414fe0dbabfaa9c311aa4b4f396a7a5cb4 SHA1 3578db2de833ca07566a4ab30ed0655ec3d8afdf SHA256 b35ff3d0fabeaba543f59d8e42acfb50dd6729981680365628c0f663b117da53
-EBUILD namd-2.7.ebuild 2255 RMD160 79c471631c5c4305bdb4d8b63f79d048c38ea599 SHA1 bb9d8f57121c9b7d1a99403793951412ba72a496 SHA256 562d81583afbde1155f2d79d4f12052e56fc56c4bf991288cc3dd310273302bf
+EBUILD namd-2.7.ebuild 2265 RMD160 eb54d7f8c81886d59b1a7a66ad58639db2dff476 SHA1 a2ab70155b25297bbe55f45343865c3125869367 SHA256 b618fcc84492d2f6828309a2ae79ee6d6f8a5033a5f85d4ec5ea846e6a917be8
diff --git a/sci-chemistry/namd/namd-2.7.ebuild b/sci-chemistry/namd/namd-2.7.ebuild
index bac3055..d8de799 100644
--- a/sci-chemistry/namd/namd-2.7.ebuild
+++ b/sci-chemistry/namd/namd-2.7.ebuild
@@ -30,7 +30,7 @@ DEPEND="|| ( app-shells/csh
CHARM="charm-9999"
# NAMD_ARCH="Linux-amd64-g++"
-NAMD_ARCH="Linux-x86_64"
+NAMD_ARCH="Linux-x86_64-g++"
NAMD_DOWNLOAD="http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD"
@@ -46,22 +46,18 @@ pkg_nofetch() {
echo
}
-src_unpack() {
- unpack ${A}
-
+src_prepare() {
# apply a few small fixes to make NAMD compile and
# link to the proper libraries
# epatch "${FILESDIR}"/namd-2.6-gentoo-amd64.patch
- cd "${S}"
-
# proper compiler and cflags
- sed -e "s/g++/$(tc-getCXX)/" \
- -e "s/CXXOPTS = -O3 -march=pentiumpro -ffast-math -static/CXXOPTS = ${CXXFLAGS}/" \
- -e "s/gcc/$(tc-getCC)/" \
- -e "s/COPTS = -O3 -march=pentiumpro -ffast-math -static/COPTS = ${CFLAGS}/" \
- -i arch/${NAMD_ARCH}.arch || \
- die "Failed to setup ${NAMD_ARCH}.arch"
+# sed -e "s/g++/$(tc-getCXX)/" \
+# -e "s/CXXOPTS = -O3 -march=pentiumpro -ffast-math -static/CXXOPTS = ${CXXFLAGS}/" \
+# -e "s/gcc/$(tc-getCC)/" \
+# -e "s/COPTS = -O3 -march=pentiumpro -ffast-math -static/COPTS = ${CFLAGS}/" \
+# -i arch/${NAMD_ARCH}-g++.arch || \
+# die "Failed to setup ${NAMD_ARCH}.arch"
# configure
./config tcl fftw ${NAMD_ARCH}