summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-28 14:32:32 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-28 14:32:32 +0000
commitdb8d979341579ce0fff1a3c673ba822e62d93127 (patch)
tree180164968c14f8e60e868f42e901f24635e79d3c /net-misc/ntp
parentDependencie fixes (diff)
downloadgentoo-2-db8d979341579ce0fff1a3c673ba822e62d93127.tar.gz
gentoo-2-db8d979341579ce0fff1a3c673ba822e62d93127.tar.bz2
gentoo-2-db8d979341579ce0fff1a3c673ba822e62d93127.zip
dependencie fixes for rc5
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ntp-4.0.99k-r2.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/ntp/ntp-4.0.99k-r2.ebuild b/net-misc/ntp/ntp-4.0.99k-r2.ebuild
index 6dc2d318b84e..623c0ede3b56 100644
--- a/net-misc/ntp/ntp-4.0.99k-r2.ebuild
+++ b/net-misc/ntp/ntp-4.0.99k-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.0.99k-r2.ebuild,v 1.1 2001/05/24 21:22:12 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.0.99k-r2.ebuild,v 1.2 2001/05/28 14:32:32 achim Exp $
A=${P}23.tar.gz
S=${WORKDIR}/${P}23
@@ -9,16 +9,19 @@ DESCRIPTION="Network Time Protocol suite/programs"
SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${A}"
HOMEPAGE="http://www.ntp.org/"
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2
+DEPEND="virtual/glibc
>=sys-libs/readline-4.1"
+
src_unpack() {
unpack ${A}
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
- try LDFLAGS=\"$LDFLAGS -lncurses\" ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
+ cp configure configure.orig
+ sed -e "s:-Wpointer-arith::" configure.orig > configure
+
+ try LDFLAGS=\"$LDFLAGS -lncurses\" ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} --build=${CHOST}
try make
}