summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-01-31 20:50:44 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-01-31 20:50:44 +0000
commit2e6019392fd9dc3dfa65671907f7401d4e4cde2e (patch)
treed424ecbff7eebb663b96d722c7429d1d05b2f9f8 /app-misc
parentfix tab (diff)
downloadgentoo-2-2e6019392fd9dc3dfa65671907f7401d4e4cde2e.tar.gz
gentoo-2-2e6019392fd9dc3dfa65671907f7401d4e4cde2e.tar.bz2
gentoo-2-2e6019392fd9dc3dfa65671907f7401d4e4cde2e.zip
This time do it properly.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/clockywock/ChangeLog4
-rw-r--r--app-misc/clockywock/clockywock-0.2.3f.ebuild9
-rw-r--r--app-misc/clockywock/files/clockywock-0.2.3f-makefile.patch9
3 files changed, 18 insertions, 4 deletions
diff --git a/app-misc/clockywock/ChangeLog b/app-misc/clockywock/ChangeLog
index d5c4273827ba..4fc0d0f83b1e 100644
--- a/app-misc/clockywock/ChangeLog
+++ b/app-misc/clockywock/ChangeLog
@@ -1,11 +1,11 @@
# ChangeLog for app-misc/clockywock
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/ChangeLog,v 1.8 2011/01/31 20:29:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/ChangeLog,v 1.9 2011/01/31 20:50:44 ssuominen Exp $
*clockywock-0.2.3f (31 Jan 2011)
31 Jan 2011; Samuli Suominen <ssuominen@gentoo.org>
- +clockywock-0.2.3f.ebuild:
+ +clockywock-0.2.3f.ebuild, +files/clockywock-0.2.3f-makefile.patch:
Version bump wrt #353082 by Kevin McCarthy.
*clockywock-0.2.3d (26 Mar 2010)
diff --git a/app-misc/clockywock/clockywock-0.2.3f.ebuild b/app-misc/clockywock/clockywock-0.2.3f.ebuild
index 911ef6e50ce5..bfd3d52d9b73 100644
--- a/app-misc/clockywock/clockywock-0.2.3f.ebuild
+++ b/app-misc/clockywock/clockywock-0.2.3f.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.2.3f.ebuild,v 1.1 2011/01/31 20:29:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.2.3f.ebuild,v 1.2 2011/01/31 20:50:44 ssuominen Exp $
EAPI=4
-inherit eutils
+inherit eutils toolchain-funcs
MY_P=${P/f/F}
@@ -25,6 +25,11 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
}
+src_compile() {
+ tc-export CXX
+ emake || die
+}
+
src_install() {
dobin ${PN}
doman ${PN}.7
diff --git a/app-misc/clockywock/files/clockywock-0.2.3f-makefile.patch b/app-misc/clockywock/files/clockywock-0.2.3f-makefile.patch
new file mode 100644
index 000000000000..b7fcff558897
--- /dev/null
+++ b/app-misc/clockywock/files/clockywock-0.2.3f-makefile.patch
@@ -0,0 +1,9 @@
+--- Makefile
++++ Makefile
+@@ -1,5 +1,5 @@
+ all:
+- g++ -O3 -Wall -o clockywock clockywock.cpp -lncurses -lpthread
++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o clockywock clockywock.cpp -lncurses -lpthread
+
+ # install is done completely lazily
+ install: