public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/mini-xml: ChangeLog mini-xml-2.6.ebuild
@ 2010-03-03 17:45 Markos Chandras (hwoarang)
  0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2010-03-03 17:45 UTC (permalink / raw
  To: gentoo-commits

hwoarang    10/03/03 17:45:26

  Modified:             ChangeLog mini-xml-2.6.ebuild
  Log:
  Respect CFLAGS/LDFLGAS wrt bug #306165. EAPI2fy
  (Portage version: 2.2_rc63/cvs/Linux x86_64)

Revision  Changes    Path
1.17                 dev-libs/mini-xml/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/ChangeLog?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/ChangeLog?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog	3 Oct 2009 15:10:21 -0000	1.16
+++ ChangeLog	3 Mar 2010 17:45:26 -0000	1.17
@@ -1,6 +1,10 @@
 # ChangeLog for dev-libs/mini-xml
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.16 2009/10/03 15:10:21 vostorga Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.17 2010/03/03 17:45:26 hwoarang Exp $
+
+  03 Mar 2010; Markos Chandras <hwoarang@gentoo.org> mini-xml-2.6.ebuild:
+  Respect CFLAGS/LDFLGAS wrt bug #306165 thanks to Doktor Notor
+  <notordoktor@gmail.com>. EAPI2fy it
 
 *mini-xml-2.6 (03 Oct 2009)
 



1.2                  dev-libs/mini-xml/mini-xml-2.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild?r1=1.1&r2=1.2

Index: mini-xml-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mini-xml-2.6.ebuild	3 Oct 2009 15:10:21 -0000	1.1
+++ mini-xml-2.6.ebuild	3 Mar 2010 17:45:26 -0000	1.2
@@ -1,12 +1,14 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild,v 1.1 2009/10/03 15:10:21 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/mini-xml-2.6.ebuild,v 1.2 2010/03/03 17:45:26 hwoarang Exp $
+
+EAPI="2"
 
 inherit autotools multilib
 
 MY_P="${P/mini-xml/mxml}"
 
-DESCRIPTION="Small XML parsing library to read XML and XML-like data files."
+DESCRIPTION="Small XML parsing library to read XML and XML-like data files"
 HOMEPAGE="http://www.easysw.com/~mike/mxml"
 SRC_URI="mirror://easysw/mxml/${PV}/${MY_P}.tar.gz"
 
@@ -20,27 +22,26 @@
 
 S="${WORKDIR}/${MY_P}"
 
-src_test() {
-	emake testmxml
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
+src_prepare() {
 	sed -i -e "s:755 -s:755:" Makefile.in || die "sed failed"
 	sed -i "/^TARGETS/s: testmxml::" Makefile.in || die "sed failed"
+	sed -i -e 's:$(DSO) $(DSOFLAGS) -o libmxml.so.1.4 $(LIBOBJS):$(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.4 $(LIBOBJS):' \
+			Makefile.in || die "sed failed"
+	sed -i -e 's:OPTIM="-Os -g":OPTIM="":' configure.in || die "sed failed"
 	rm configure
 #	eautoreconf
 	eautoconf
 }
 
-src_compile() {
+src_configure() {
 	econf \
 		--enable-shared \
 		--libdir="/usr/$(get_libdir)" \
 		--with-docdir="/usr/share/doc/${PF}/html" \
 		$(use_enable threads)
+}
+
+src_compile() {
 	emake libmxml.a  libmxml.so.1.4 mxmldoc doc/mxml.man || die "make failed"
 }
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-03 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 17:45 [gentoo-commits] gentoo-x86 commit in dev-libs/mini-xml: ChangeLog mini-xml-2.6.ebuild Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox