aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-02-15 23:23:01 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2009-02-15 23:23:01 +0300
commitf6a1648c61965d0689ebb54efe82004f13b14043 (patch)
treeb5cb26307edc98e063c7fb1dc367a5085b6239d4
parentsci-chemistry/almost missed to install to headers which are needed to build s... (diff)
downloadsci-f6a1648c61965d0689ebb54efe82004f13b14043.tar.gz
sci-f6a1648c61965d0689ebb54efe82004f13b14043.tar.bz2
sci-f6a1648c61965d0689ebb54efe82004f13b14043.zip
fix compilation of wxmacmolplt
(Portage version: 2.2_rc23/git/Linux x86_64) (Signed Manifest commit)
-rw-r--r--sci-chemistry/wxmacmolplt/ChangeLog3
-rw-r--r--sci-chemistry/wxmacmolplt/Manifest10
-rw-r--r--sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild20
3 files changed, 17 insertions, 16 deletions
diff --git a/sci-chemistry/wxmacmolplt/ChangeLog b/sci-chemistry/wxmacmolplt/ChangeLog
index 80932620b..25ae4d75c 100644
--- a/sci-chemistry/wxmacmolplt/ChangeLog
+++ b/sci-chemistry/wxmacmolplt/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org> wxmacmolplt-7.2.1.ebuild:
+ Fix compilation on some systems
+
13 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org>
+files/wxmacmolplt-7.2.1-gcc43.patch, wxmacmolplt-7.2.1.ebuild:
Add patch for gcc 4.3
diff --git a/sci-chemistry/wxmacmolplt/Manifest b/sci-chemistry/wxmacmolplt/Manifest
index 85643a3be..ee574ee4e 100644
--- a/sci-chemistry/wxmacmolplt/Manifest
+++ b/sci-chemistry/wxmacmolplt/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
AUX wxmacmolplt-7.2.1-gcc43.patch 286 RMD160 89024e9ab6a06ab66f9248c8c9c9f88f8678585c SHA1 fa396b662f58c6ccc784b38f1f0909b46de549b1 SHA256 f3faa0616d02be3590d52dc95fdff55a9343dfde7df74c785689bdcafd51880c
AUX wxmacmolplt-7.2.1-ming.patch 402 RMD160 44e8644cf7f28549fd24432979e1982753f31e92 SHA1 bb838d234cd3e6af66b9acd43b3a46b30450bb65 SHA256 159d6ade9ec84f1247d92f4cfd8f7a28d73651bf8d0e42ff2d181b3a7af6f999
DIST wxmacmolplt-7.2.1.tar.gz 1617541 RMD160 7da381f33578d2b578efa937691b4ca8b461eb8b SHA1 45d3f43f33bf334ac6b6d7b187c271d8fd6ef32b SHA256 1e079a05da1738118164488722246377744ad3a6d1def5fb5965eed803bf69d4
-EBUILD wxmacmolplt-7.2.1.ebuild 851 RMD160 4cc43a64a1ef5199bc402e886adf7e6895be0782 SHA1 bebf6fafd66b6d21d2201a19a3059d1783a8c365 SHA256 ec2c522f2e05f7521d3a81c3d0bae91acee12517395f060fd0bc0ead2b002d10
-MISC ChangeLog 459 RMD160 91258f33a5b38476a4b2eff3cb63b1128dfeb653 SHA1 bc3643768d4de651693d1a47a1a5eb388001fe2e SHA256 83c12ce78e776be485bb61df917dc2b3b79b45930d9c4de7f62d49204fb666e7
+EBUILD wxmacmolplt-7.2.1.ebuild 784 RMD160 b222ec0f7eecad41f766e23e5814bfd2cc291b85 SHA1 8698d84d9f5ff5fed8a217433bcc7a1cae567270 SHA256 003e80697ce2162028a1a01d926474b52870207d3311f64df01b100ea5270707
+MISC ChangeLog 571 RMD160 7e116bf420c611a17bcdc9863cd328675eb500ab SHA1 ef740d32ebbffe0fa084e4ab4b445b24c54816be SHA256 372efcd72a9d3fe6136497bb95167622c2937050bc8a407e8a2e38e3531ac5f4
MISC metadata.xml 245 RMD160 18596976a5c01cb139ec864df9c3e5af31bb7e84 SHA1 11a9e38cb22a455bfa7164418b209da0d1abedf6 SHA256 643385b3a789b424bcc6dc46fe5dc1607071820f9fd35fe91de2e7984f97cdfd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkmVVdQACgkQ5BmOA85PVLjG2wCcCEK+XqsA1786CHMHQwT/qDpM
-AAQAoJ2DOgtFw1UuGfPkIGAqzyY0x1z2
-=tdbQ
+iEYEARECAAYFAkmYeaUACgkQ5BmOA85PVLhikgCeJgzUh9t5qPoS9LUQLObIydun
+DVkAn0TeNqSWnckoRBQJcUc+Hn0DOdBZ
+=4VDI
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild
index 78e09e16a..e62e71ca8 100644
--- a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild
+++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild
@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+EAPI="2"
+
+inherit base eutils
DESCRIPTION="Chemical 3D graphics program with GAMESS input builder"
HOMEPAGE="http://www.scl.ameslab.gov/~brett/MacMolPlt/"
@@ -20,20 +22,16 @@ RDEPEND="x11-libs/wxGTK
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-ming.patch"
- epatch "${FILESDIR}/${P}-gcc43.patch"
-}
+PATCHES=( "${FILESDIR}"/${P}-ming.patch
+ "${FILESDIR}"/${P}-gcc43.patch
+ )
-src_compile() {
- econf $(use_with ming) || die "configure failed"
- emake || die "make failed"
+src_configure() {
+ LIBS="-lGLU" econf $(use_with ming)
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
doicon resources/${PN}.png
- make_desktop_entry ${PN} wxMacMolPlt ${PN}.png Education
+ make_desktop_entry ${PN} wxMacMolPlt ${PN}.png Science
}