diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-06-09 23:50:19 +0200 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-06-09 23:50:19 +0200 |
commit | 1b35e331c4c8be8f5c5e4e2749362c8802d15d3a (patch) | |
tree | cda700c46109960fd5f5a9b983c55df8f1b96d3b /sci-libs | |
parent | pointless added (diff) | |
download | sci-1b35e331c4c8be8f5c5e4e2749362c8802d15d3a.tar.gz sci-1b35e331c4c8be8f5c5e4e2749362c8802d15d3a.tar.bz2 sci-1b35e331c4c8be8f5c5e4e2749362c8802d15d3a.zip |
cctbx should be linkable now
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cctbx/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/cctbx/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/cctbx/cctbx-2009.02.15.2320-r3.ebuild (renamed from sci-libs/cctbx/cctbx-2009.02.15.2320-r1.ebuild) | 12 |
3 files changed, 16 insertions, 6 deletions
diff --git a/sci-libs/cctbx/ChangeLog b/sci-libs/cctbx/ChangeLog index 52dffdab3..47593324a 100644 --- a/sci-libs/cctbx/ChangeLog +++ b/sci-libs/cctbx/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*cctbx-2009.02.15.2320-r3 (09 Jun 2009) + + 09 Jun 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> + -cctbx-2009.02.15.2320-r1.ebuild, +cctbx-2009.02.15.2320-r3.ebuild: + fixed bad bug which breaks the libs + 08 Jun 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> cctbx-2009.02.15.2320-r1.ebuild: Hopefully fixed problem with installation diff --git a/sci-libs/cctbx/Manifest b/sci-libs/cctbx/Manifest index 825e45722..21e4c2bac 100644 --- a/sci-libs/cctbx/Manifest +++ b/sci-libs/cctbx/Manifest @@ -1,6 +1,6 @@ AUX 2009.02.15.2320-sandbox-violations-chmod.patch 467 RMD160 11a55d71c9a238cf8c40f1760344c27c65a53922 SHA1 03ce887b4ddaf72310986d97c8add9a7a73c6fb0 SHA256 1c79b9f3bb0215dca39def9b6ba0bdb678022b51345da1567d0f4952951bdcd1 DIST cctbx-2009.02.15.2320.tar.gz 12800622 RMD160 8d95db0054e8ba9378e46e9d5d2d7b333418eeb4 SHA1 1d3e5aad9d1c4fd6617295fc3346c079e7c758d9 SHA256 336946867246ed3cf7f697dc9bf0cc21443b7fb9600b24696b4d8d3cb5773200 -EBUILD cctbx-2009.02.15.2320-r1.ebuild 5467 RMD160 c7efd88e36165aa6e27584e198fa6710a28f6626 SHA1 74ddd0f842645f6fe6d314aae07d3980b9750591 SHA256 377ba72a4f9aeaf095173a2af2d249209c777550aea82d6d19542c860e88323f EBUILD cctbx-2009.02.15.2320-r2.ebuild 4639 RMD160 69285fb2b9ef6207a8338e0ed6b335432b23c825 SHA1 fd65e7d76f45a4152fbfaaf286e14ee315edfc83 SHA256 21db2dcc51a47440950b854aa54e5f7612128bb0446e69a1877330af003668b7 -MISC ChangeLog 1294 RMD160 654a7ecddbc1531f5e5c6f580ce1b8aa19002de8 SHA1 3731cebd730f7311bf63e8cacdcfde3a25f7a5e2 SHA256 3378786bd75d9b55bff5ed49b36e75788d8e7c1dfe19a2a1884f6a2cd7d6c895 +EBUILD cctbx-2009.02.15.2320-r3.ebuild 5677 RMD160 1fd505556d4c2b02ea33a4da0c2494134fcf9c88 SHA1 304f631bcdbb37baf19d1f5ce5210e1b7429d3b3 SHA256 1a932ef54671f97fc40f5affec24b6bc6331df6e68a911583523240d606dab07 +MISC ChangeLog 1501 RMD160 8b2435c8ce96ffb22ff65eb967c982e473879762 SHA1 1756eb00a128e815151fbfc676d2481a846b88eb SHA256 47d4a83db06e93fb9828686bba3046ded3128746058e6a7b92343ad5d23fbb13 MISC metadata.xml 438 RMD160 79ad38c94abc71ba32abccdcd670f2f6802c2df3 SHA1 1ebbff28f7e4d135b26b951b6111f6803f78413c SHA256 94d589a2836bffe732cdf993e9b38afc1cde4683a5e5669c44daf6b69595e8da diff --git a/sci-libs/cctbx/cctbx-2009.02.15.2320-r1.ebuild b/sci-libs/cctbx/cctbx-2009.02.15.2320-r3.ebuild index 0ec1e93ce..2e040fe52 100644 --- a/sci-libs/cctbx/cctbx-2009.02.15.2320-r1.ebuild +++ b/sci-libs/cctbx/cctbx-2009.02.15.2320-r3.ebuild @@ -42,7 +42,7 @@ src_prepare() { # Wants to chmod /usr/bin/python epatch "${FILESDIR}"/${PV}-sandbox-violations-chmod.patch - rm -rf "${MY_S}/clipper" "${MY_S}/scons" # "${MY_S}/boost" + rm -rf "${MY_S}/scons" # "${MY_S}/boost" mkdir -p "${MY_S}"/scons/src/ "${MY_S}/boost" @@ -81,9 +81,11 @@ src_compile() { OPTSLD="${OPTSLD} \"${i}\"," done + OPTSLD=${OPTSLD%,} + # Fix LDFLAGS which should be as-needed ready sed -i \ - -e "s:\"-shared\":${OPTSLD} \"-shared\":g" \ + -e "s:\"-shared\":\"-shared\", ${OPTSLD}:g" \ ${MY_S}/libtbx/SConscript # Get compiler in the right way @@ -105,7 +107,7 @@ src_compile() { mkdir "${MY_B}" && MYCONF="${MYCONF} --current_working_directory=${MY_B}" cd "${MY_B}" - MYCONF="${MYCONF} --build=release fftw3tbx rstbx smtbx mmtbx" + MYCONF="${MYCONF} --build=release fftw3tbx rstbx smtbx mmtbx clipper" einfo "configuring with ${python} ${MYCONF}" ${python} ${MYCONF} \ @@ -130,7 +132,7 @@ src_install(){ # This is what Bill Scott does in the fink package. Do we need this as well? # -e "s:prepend:append:g" \ - find cctbx_build/ -type f -exec \ + find cctbx_build/ -type f \( -name "*.py" -o -name "*sh" \) -exec \ sed -e "s:${MY_S}:/usr/$(get_libdir)/cctbx/cctbx_sources:g" \ -e "s:${MY_B}:/usr/$(get_libdir)/cctbx/cctbx_build:g" \ -i '{}' \; || die "Fail to correct path" @@ -138,6 +140,7 @@ src_install(){ ebegin "removing unnessary files" rm -r "${S}"/cctbx_sources/scons || die "failed to remove uneeded scons" + find "${S}" -type f -name "*conftest*" -exec rm -f '{}' \; || die "failed to remove uneeded *.o" find "${S}" -type f -name "*.o" -exec rm -f '{}' \; || die "failed to remove uneeded *.o" find "${S}" -type f -name "*.c" -exec rm -f '{}' \; || die "failed to remove uneeded *.c" find "${S}" -type f -name "*.cpp" -exec rm -f '{}' \; || die "failed to remove uneeded *.cpp" @@ -149,6 +152,7 @@ src_install(){ # fperms cannot handle wildcards chmod 775 "${D}"/usr/$(get_libdir)/${PN}/cctbx_build/*sh && \ + chmod 775 "${D}"/usr/$(get_libdir)/${PN}/cctbx_build/lib/* && \ chmod 775 "${D}"/usr/$(get_libdir)/${PN}/cctbx_build/scitbx/array_family/* && \ chmod 775 "${D}"/usr/$(get_libdir)/${PN}/cctbx_build/scitbx/serialization/* && \ chmod 775 "${D}"/usr/$(get_libdir)/${PN}/cctbx_build/scitbx/error/* && \ |