diff options
author | 2006-09-20 19:09:52 +0000 | |
---|---|---|
committer | 2006-09-20 19:09:52 +0000 | |
commit | 012fffd84a283bd7e3a48938f31c22a65373dd82 (patch) | |
tree | 68767838bd4c7908bcce25e54e4326ade0c26fee /sci-physics/qcl | |
parent | added a working celestia-1.4.1-r1 (diff) | |
download | sci-012fffd84a283bd7e3a48938f31c22a65373dd82.tar.gz sci-012fffd84a283bd7e3a48938f31c22a65373dd82.tar.bz2 sci-012fffd84a283bd7e3a48938f31c22a65373dd82.zip |
qcl ebuild now honours the user's $CXXFLAGS
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@316 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-physics/qcl')
-rw-r--r-- | sci-physics/qcl/Manifest | 12 | ||||
-rw-r--r-- | sci-physics/qcl/files/qcl-0.6.2.patch | 32 | ||||
-rw-r--r-- | sci-physics/qcl/qcl-0.6.2.ebuild | 10 |
3 files changed, 49 insertions, 5 deletions
diff --git a/sci-physics/qcl/Manifest b/sci-physics/qcl/Manifest index 0561e7549..6c1fb198d 100644 --- a/sci-physics/qcl/Manifest +++ b/sci-physics/qcl/Manifest @@ -1,11 +1,15 @@ +AUX qcl-0.6.2.patch 925 RMD160 48b1680a84fd45d9e6be70809eb1790efa9733f3 SHA1 1e4a07ea2984f566cd970d58b4d399dfa7c732f5 SHA256 866d0a4946c22c99eadd30736424e66ccfaeba30b4adeb578965f131ab573b75 +MD5 096f1a22f9036603a4765accf0193157 files/qcl-0.6.2.patch 925 +RMD160 48b1680a84fd45d9e6be70809eb1790efa9733f3 files/qcl-0.6.2.patch 925 +SHA256 866d0a4946c22c99eadd30736424e66ccfaeba30b4adeb578965f131ab573b75 files/qcl-0.6.2.patch 925 DIST qcl-0.6.2.tgz 133800 RMD160 49ee3e94baa0d983b0a79ed4e65acf6e8dbd86ad SHA1 fc194a123934d8de4d784dd6ea9001b011c05fb9 SHA256 3b5e1b7ae8e7fc0e450d908eab0da50d260d2710eceb8611a2e8c8b518183035 DIST qcldoc.pdf 435240 RMD160 6bbad4ec0c90f3bdd744014149699230a23f2b76 SHA1 97ba7d7f963ada3ea305f52ad4c61c0cba3f6df8 SHA256 a47f7e814b7848ba54d9e3749b66cc727376758dfdcb98c66531be01540f5886 DIST quprog.pdf 529617 RMD160 94f98069519b7154fe6210487fd0844645d9c6b4 SHA1 dbb8c4181ca89014299073adbecabb979201475a SHA256 d201296097d649b42da56fc713f7242b6786402ed936c28054eb530840d379ec DIST structquprog.pdf 671665 RMD160 5ac3f75809b9339306877bd2a2c2859f96ff869d SHA1 b21684e8a3f2fd91aec6337316b3c61654243f78 SHA256 8652df84461aeec6526ee72d0419baa963569e8d7a866e95176ab11da0c133bd -EBUILD qcl-0.6.2.ebuild 904 RMD160 4799ff40269b5b015c487c21fe398687502e637d SHA1 7ecab763ee00af7cfb6f6b41bb19a744a01918f2 SHA256 60cfacbef22ec1c7563c2c53c26921943e8acd0da648b7300929edfddc797588 -MD5 cc5058985c19e850624d014797c90f62 qcl-0.6.2.ebuild 904 -RMD160 4799ff40269b5b015c487c21fe398687502e637d qcl-0.6.2.ebuild 904 -SHA256 60cfacbef22ec1c7563c2c53c26921943e8acd0da648b7300929edfddc797588 qcl-0.6.2.ebuild 904 +EBUILD qcl-0.6.2.ebuild 1041 RMD160 095000bd5ef489c31ad4d0be3907619ed8f42670 SHA1 060a3c6c91134d939725c08ce9627fb6d0b134bd SHA256 0405c9f3b8274f4d82fbadc7745dc3e080451986236bcfc8cb313e376f9e4bad +MD5 fdf52b1d21bf92bb06b5db5bc44e1ce0 qcl-0.6.2.ebuild 1041 +RMD160 095000bd5ef489c31ad4d0be3907619ed8f42670 qcl-0.6.2.ebuild 1041 +SHA256 0405c9f3b8274f4d82fbadc7745dc3e080451986236bcfc8cb313e376f9e4bad qcl-0.6.2.ebuild 1041 MISC ChangeLog 261 RMD160 3f59e2f2f34ad9d5834ee06d63de3e4c4de6fcc2 SHA1 c4428b0a5162f4f92bd9eb7be8948eb42860ef36 SHA256 a9a7a1ac48a28652ee89fc69551776ada02238e7f4df5963750fbe934b7b646a MD5 5120285fac4ef982446a6ee97b808bb9 ChangeLog 261 RMD160 3f59e2f2f34ad9d5834ee06d63de3e4c4de6fcc2 ChangeLog 261 diff --git a/sci-physics/qcl/files/qcl-0.6.2.patch b/sci-physics/qcl/files/qcl-0.6.2.patch new file mode 100644 index 000000000..706a20016 --- /dev/null +++ b/sci-physics/qcl/files/qcl-0.6.2.patch @@ -0,0 +1,32 @@ +diff -r -U4 qcl-0.6.2/Makefile qcl-0.6.2.new/Makefile +--- qcl-0.6.2/Makefile 2006-05-18 15:20:15.000000000 +0200 ++++ qcl-0.6.2.new/Makefile 2006-09-21 02:42:51.000000000 +0200 +@@ -29,11 +29,12 @@ + #ARCHOPT = -m32 -march=i686 + + # Debugging and optimization options + ++OPT = -g -O2 + #DEBUG = -g -pg -DQCL_DEBUG -DQC_DEBUG + #DEBUG = -g -DQCL_DEBUG -DQC_DEBUG +-DEBUG = -O2 -g -DQCL_DEBUG -DQC_DEBUG ++DEBUG = $(OPT) -DQCL_DEBUG -DQC_DEBUG + #DEBUG = -O2 + + # Plotting support + # +diff -r -U4 qcl-0.6.2/qc/Makefile qcl-0.6.2.new/qc/Makefile +--- qcl-0.6.2/qc/Makefile 2006-05-18 15:20:15.000000000 +0200 ++++ qcl-0.6.2.new/qc/Makefile 2006-09-21 02:41:51.000000000 +0200 +@@ -15,9 +15,10 @@ + #ARCHOPT = -m32 -march=i686 + + # Debugging options + +-DEBUG = -g -O2 -DQC_DEBUG ++OPT = -g -O2 ++DEBUG = $(OPT) -DQC_DEBUG + #DEBUG = -g -pg -DQC_DEBUG + #DEBUG = -O2 + + # Comment out if you if you want to use SysV Xrand48() linear congruential diff --git a/sci-physics/qcl/qcl-0.6.2.ebuild b/sci-physics/qcl/qcl-0.6.2.ebuild index b50b5c93e..a24974dfa 100644 --- a/sci-physics/qcl/qcl-0.6.2.ebuild +++ b/sci-physics/qcl/qcl-0.6.2.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ +inherit flag-o-matic eutils DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer" HOMEPAGE="http://tph.tuwien.ac.at/~oemer/qcl.html" @@ -15,8 +16,15 @@ SRC_URI="http://tph.tuwien.ac.at/~oemer/tgz/qcl-0.6.2.tgz http://tph.tuwien.ac.at/~oemer/doc/quprog.pdf )" DEPENDS="media-libs/plotutils" +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/qcl-0.6.2.patch" +} + src_compile() { - emake QCLDIR="/usr/share/${PN}" || die "emake failed" + strip-flags + emake QCLDIR="/usr/share/${PN}" OPT="${CXXFLAGS}" || die "emake failed" } src_install() { |