public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tristan Heaven (nyhm)" <nyhm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/freeimage: ChangeLog freeimage-3.11.0.ebuild
Date: Tue, 25 Nov 2008 09:17:05 +0000	[thread overview]
Message-ID: <E1L4u2b-00016v-Oo@stork.gentoo.org> (raw)

nyhm        08/11/25 09:17:05

  Modified:             ChangeLog freeimage-3.11.0.ebuild
  Log:
  Add cxx USE flag, bug #242888
  (Portage version: 2.2_rc15/cvs/Linux 2.6.27.7 i686)

Revision  Changes    Path
1.6                  media-libs/freeimage/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freeimage/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freeimage/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freeimage/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	2 Sep 2008 00:12:06 -0000	1.5
+++ ChangeLog	25 Nov 2008 09:17:05 -0000	1.6
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/freeimage
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.5 2008/09/02 00:12:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.6 2008/11/25 09:17:05 nyhm Exp $
+
+  25 Nov 2008; Tristan Heaven <nyhm@gentoo.org> freeimage-3.11.0.ebuild:
+  Add cxx USE flag, bug #242888
 
 *freeimage-3.11.0 (02 Sep 2008)
 



1.2                  media-libs/freeimage/freeimage-3.11.0.ebuild

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

Index: freeimage-3.11.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- freeimage-3.11.0.ebuild	2 Sep 2008 00:12:06 -0000	1.1
+++ freeimage-3.11.0.ebuild	25 Nov 2008 09:17:05 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v 1.1 2008/09/02 00:12:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v 1.2 2008/11/25 09:17:05 nyhm Exp $
 
 inherit toolchain-funcs multilib
 
@@ -14,7 +14,7 @@
 LICENSE="|| ( GPL-2 FIPL-1.0 )"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
+IUSE="cxx doc"
 
 DEPEND="app-arch/unzip"
 RDEPEND=""
@@ -32,13 +32,23 @@
 		-e "/^INSTALLDIR = /s:/usr/lib:${D}/usr/$(get_libdir):" \
 		-e '/^COMPILERFLAGS =/s:-O3::' \
 		-e "/\$(CC) -s /s: -s : ${LDFLAGS} :" \
-		Makefile.gnu \
+		Makefile.{gnu,fip} \
 		|| die "sed failed"
 }
 
+src_compile() {
+	emake -f Makefile.gnu || die "emake failed"
+	if use cxx ; then
+		emake -f Makefile.fip || die "emake fip failed"
+	fi
+}
+
 src_install() {
 	dodir /usr/include /usr/$(get_libdir)
-	emake install || die "emake install failed"
+	emake -f Makefile.gnu install || die "emake install failed"
+	if use cxx ; then
+		emake -f Makefile.fip install || die "emake install fip failed"
+	fi
 	dodoc README.linux Whatsnew.txt
 	use doc && dodoc "${DISTDIR}"/${MY_P}.pdf
 }






             reply	other threads:[~2008-11-25  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  9:17 Tristan Heaven (nyhm) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-01 18:31 [gentoo-commits] gentoo-x86 commit in media-libs/freeimage: ChangeLog freeimage-3.11.0.ebuild Joseph Jezak (josejx)
2009-04-02 23:07 Tristan Heaven (nyhm)
2009-05-12  5:43 Michael Sterrett (mr_bones_)
2009-05-24  0:34 Michael Sterrett (mr_bones_)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1L4u2b-00016v-Oo@stork.gentoo.org \
    --to=nyhm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox