Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xfractint: ChangeLog xfractint-20.04_p09.ebuild
Date: Wed, 15 Oct 2008 17:26:51
Message-Id: E1KqA90-00076B-Qx@stork.gentoo.org
spock       08/10/15 17:26:46

  Modified:             ChangeLog
  Added:                xfractint-20.04_p09.ebuild
  Log:
  Version bump.  Fix the new ebuild so that it respects the user's CFLAGS (bug #241550).
  (Portage version: 2.2_rc12/cvs/Linux 2.6.27 x86_64)

Revision  Changes    Path
1.53                 x11-misc/xfractint/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/ChangeLog?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/ChangeLog?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/ChangeLog?r1=1.52&r2=1.53

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- ChangeLog	14 Sep 2008 11:45:32 -0000	1.52
+++ ChangeLog	15 Oct 2008 17:26:46 -0000	1.53
@@ -1,6 +1,13 @@
 # ChangeLog for x11-misc/xfractint
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.52 2008/09/14 11:45:32 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.53 2008/10/15 17:26:46 spock Exp $
+
+*xfractint-20.04_p09 (15 Oct 2008)
+
+  15 Oct 2008; MichaƂ Januszewski <spock@g.o>
+  +xfractint-20.04_p09.ebuild:
+  Version bump. Fix the new ebuild so that it respects the user's CFLAGS
+  (bug #241550).
 
   14 Sep 2008; Friedrich Oslage <bluebird@g.o>
   xfractint-20.04_p07.ebuild:



1.1                  x11-misc/xfractint/xfractint-20.04_p09.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09.ebuild?rev=1.1&content-type=text/plain

Index: xfractint-20.04_p09.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09.ebuild,v 1.1 2008/10/15 17:26:46 spock Exp $

inherit eutils toolchain-funcs

MY_P=${P/_}

DESCRIPTION="a fractal generator"
HOMEPAGE="http://www.fractint.org"
SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
#	x86? ( dev-lang/nasm )"

S="${WORKDIR}/${MY_P}"

src_compile() {
	# Untested, any x86 archteam dev. is allowed to uncomment this.
	local myasm="foo"
#	use x86 && myasm="/usr/bin/nasm"
	emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" || die "emake failed."
}

src_install() {
	emake DESTDIR="${D}/usr" STRIP="true" install || die "emake install failed."
	newenvd "${FILESDIR}"/xfractint.envd 60xfractint
}

pkg_postinst() {
	elog "XFractInt requires the FRACTDIR variable to be set in order to start."
	elog "Please re-login or \`source /etc/profile\` to have this variable set."
}