summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/bogosort/ChangeLog7
-rw-r--r--app-text/bogosort/bogosort-0.4.2.ebuild12
2 files changed, 14 insertions, 5 deletions
diff --git a/app-text/bogosort/ChangeLog b/app-text/bogosort/ChangeLog
index 17eb0360fca5..62866786905a 100644
--- a/app-text/bogosort/ChangeLog
+++ b/app-text/bogosort/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/bogosort
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/ChangeLog,v 1.10 2008/01/25 19:28:11 grobian Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/ChangeLog,v 1.11 2009/04/13 02:26:45 darkside Exp $
+
+ 13 Apr 2009; Jeremy Olexa <darkside@gentoo.org> bogosort-0.4.2.ebuild:
+ QA: respect CC, bug 243722
25 Jan 2008; Fabian Groffen <grobian@gentoo.org> bogosort-0.4.2.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-text/bogosort/bogosort-0.4.2.ebuild b/app-text/bogosort/bogosort-0.4.2.ebuild
index e7a9c69a5e37..9deeb00a058c 100644
--- a/app-text/bogosort/bogosort-0.4.2.ebuild
+++ b/app-text/bogosort/bogosort-0.4.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/bogosort-0.4.2.ebuild,v 1.7 2008/01/25 19:28:11 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/bogosort-0.4.2.ebuild,v 1.8 2009/04/13 02:26:45 darkside Exp $
-inherit libtool eutils
+inherit libtool eutils toolchain-funcs
DESCRIPTION="A file sorting program which uses the bogosort algorithm"
HOMEPAGE="http://www.lysator.liu.se/~qha/bogosort/"
@@ -23,6 +23,12 @@ src_unpack() {
epatch ${FILESDIR}/xmalloc.patch
}
+src_compile() {
+ tc-export CC
+ econf
+ emake || die
+}
+
src_install() {
make DESTDIR="${D}" install
dodoc README NEWS ChangeLog AUTHORS