summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-04-19 20:23:11 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-04-19 20:23:11 +0000
commit6d9a29d531f1bfb2d69a40a1e67f61913f0eeccf (patch)
tree6cced3770d3581a72b2db3ec773f69fe633d04c4 /dev-cpp
parentPatch so that -fpermissive is not needed to build. Thanks to Wilfried Holzke... (diff)
downloadhistorical-6d9a29d531f1bfb2d69a40a1e67f61913f0eeccf.tar.gz
historical-6d9a29d531f1bfb2d69a40a1e67f61913f0eeccf.tar.bz2
historical-6d9a29d531f1bfb2d69a40a1e67f61913f0eeccf.zip
Fix ebuild to respect CXXFLAGS, thanks to Diego E. 'Flameeyes' Pettenò <flameeyes AT gentoo DOT org> for reporting; bug #240167
Package-Manager: portage-2.2_rc30/cvs/Linux i686
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libmxmlplus/ChangeLog12
-rw-r--r--dev-cpp/libmxmlplus/Manifest12
-rw-r--r--dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch16
-rw-r--r--dev-cpp/libmxmlplus/libmxmlplus-0.9.2_p20080323-r1.ebuild44
4 files changed, 77 insertions, 7 deletions
diff --git a/dev-cpp/libmxmlplus/ChangeLog b/dev-cpp/libmxmlplus/ChangeLog
index c772f99bf84c..68b5bf229b6f 100644
--- a/dev-cpp/libmxmlplus/ChangeLog
+++ b/dev-cpp/libmxmlplus/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-cpp/libmxmlplus
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmxmlplus/ChangeLog,v 1.6 2008/09/06 21:28:24 halcy0n Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmxmlplus/ChangeLog,v 1.7 2009/04/19 20:23:11 halcy0n Exp $
+
+*libmxmlplus-0.9.2_p20080323-r1 (19 Apr 2009)
+
+ 19 Apr 2009; Mark Loeser <halcy0n@gentoo.org>
+ +files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch,
+ +libmxmlplus-0.9.2_p20080323-r1.ebuild:
+ Fix ebuild to respect CXXFLAGS, thanks to Diego E. 'Flameeyes' Pettenò
+ <flameeyes AT gentoo DOT org> for reporting; bug #240167
06 Sep 2008; Mark Loeser <halcy0n@gentoo.org>
libmxmlplus-0.9.2_p20080323.ebuild:
diff --git a/dev-cpp/libmxmlplus/Manifest b/dev-cpp/libmxmlplus/Manifest
index 20bf725211cc..3782ef33660a 100644
--- a/dev-cpp/libmxmlplus/Manifest
+++ b/dev-cpp/libmxmlplus/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch 533 RMD160 7175ef07fdc372a7c46a74d1b42b132a129698e2 SHA1 d10e0305c2c16ab4326838403f4248ddcd12fd93 SHA256 a65ef57f95b34c8d0ab13428307162ab16647e02768913d8d29a44629c909edf
DIST libmxmlplus-0.9.2_p20080323.tar.lzma 163904 RMD160 328ab864c9e97bf31b2e6f05ededd3be76c842b3 SHA1 b1fd79814dca7cb2afee67b8797cc9736fa60253 SHA256 cd82a62fbc38486e4a9371a8757ae5dfb7c3ccc2e14687d19751b1df22b28b7c
+EBUILD libmxmlplus-0.9.2_p20080323-r1.ebuild 983 RMD160 913eeda184ea752352eb1639fcc5710763237494 SHA1 fb86e810c386bf87ae6d1a51b249ac88d016897d SHA256 8d1188aa710370af05922f9ad8cbe68c2c11777d5eb8b997bfb0f55a64e9ffa1
EBUILD libmxmlplus-0.9.2_p20080323.ebuild 923 RMD160 a7ecea8c4203a7a168f72aa6db0e74c0632a1c0e SHA1 04469f35cfe68d166dae8a9c97eda4e6d14b09b7 SHA256 4380c7fa596a4ab2e2c8f0c9cabf315df490374cacbbc37c7183fd15448ab45f
-MISC ChangeLog 1672 RMD160 eaa3030a58419aa40a2a4068860642b5ae670920 SHA1 4c688ea09318e38c038e855f6cfe478b293b03f8 SHA256 ab7e4b9f496d99e5b501edc00dddcf94e0a74045e02c3e7e027bd03aa3885e96
+MISC ChangeLog 2004 RMD160 a582f8adbe36e58d2d6607ff28a3cde086a28778 SHA1 8a75eb1e0fd357a7f1e0210ce3c17009c8c3ac5f SHA256 8c05edb9eeb2458cf08b71325c05cdb9584a25ff7f4f254433d0bbed6e67a214
MISC metadata.xml 390 RMD160 7f09739da1f08bbf794cb0053f4fcd8aad232424 SHA1 ed40ab76271458fbc4e2aa2638cf5304e8239a8c SHA256 9df56ebed51038c6409da3ad2cec291248aeb46f9abbbe418e70088848b87e95
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkjC9f4ACgkQCRZPokWLroS6SQCcDBQi7RBciJSI55gzEuf7X2vB
-mzgAn1Y/uRKNSIu0wveFpoeUSJCW5Hye
-=2aE8
+iEYEARECAAYFAknriDQACgkQCRZPokWLroQc7wCfbtv4eNpxyHoaysakptvl7P83
+dTQAnR3cQnfLKfAu1E+2uQIFn4aWVLTg
+=H1Vw
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch b/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch
new file mode 100644
index 000000000000..ae200ade5447
--- /dev/null
+++ b/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch
@@ -0,0 +1,16 @@
+diff -ur libmxmlplus-0.9.2_p20080323-orig/configure.ac libmxmlplus-0.9.2_p20080323/configure.ac
+--- libmxmlplus-0.9.2_p20080323-orig/configure.ac 2009-04-19 16:14:53.000000000 -0400
++++ libmxmlplus-0.9.2_p20080323/configure.ac 2009-04-19 16:17:12.000000000 -0400
+@@ -63,12 +63,6 @@
+ AC_ARG_ENABLE(doc,
+ AS_HELP_STRING(--enable-doc, Enable compilation of deocumentation) )
+
+-if test x$enable_debug = xyes; then
+- CXXFLAGS="-g"
+-else
+- CXXFLAGS="-O2"
+-fi
+-
+ dnl--------------------------------
+ dnl settings for makefiles
+ dnl
diff --git a/dev-cpp/libmxmlplus/libmxmlplus-0.9.2_p20080323-r1.ebuild b/dev-cpp/libmxmlplus/libmxmlplus-0.9.2_p20080323-r1.ebuild
new file mode 100644
index 000000000000..27a1e2b1ff2d
--- /dev/null
+++ b/dev-cpp/libmxmlplus/libmxmlplus-0.9.2_p20080323-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmxmlplus/libmxmlplus-0.9.2_p20080323-r1.ebuild,v 1.1 2009/04/19 20:23:11 halcy0n Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Minimal XML DOM Library"
+SRC_URI="mirror://gentoo/${P}.tar.lzma"
+HOMEPAGE="http://mxml.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )
+ app-arch/lzma-utils"
+RDEPEND=""
+
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-respect-cxxflags.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --enable-shared \
+ $(use_enable doc) \
+ --disable-dependency-tracking || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README RELNOTES TODO
+
+ if use doc; then
+ dodir /usr/share/doc/${PF}
+ dohtml -r "${S}/doc/html"/*
+ fi
+}