summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/delay/delay-1.6.ebuild')
-rw-r--r--app-misc/delay/delay-1.6.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/app-misc/delay/delay-1.6.ebuild b/app-misc/delay/delay-1.6.ebuild
index fcb8274030c4..ffd863a8d7ff 100644
--- a/app-misc/delay/delay-1.6.ebuild
+++ b/app-misc/delay/delay-1.6.ebuild
@@ -1,6 +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-misc/delay/delay-1.6.ebuild,v 1.16 2008/03/26 18:47:31 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6.ebuild,v 1.17 2009/04/10 03:40:30 darkside Exp $
+
+inherit toolchain-funcs
DESCRIPTION="sleeplike program that counts down the number of seconds specified"
HOMEPAGE="http://onegeek.org/~tom/software/delay/"
@@ -15,11 +17,8 @@ DEPEND="virtual/libc"
src_compile() {
sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c
- ./configure \
- --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "./configure failed"
+ tc-export CC
+ econf
emake || die
}