summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irc-server/irc-server-2.10.3_p3.ebuild')
-rw-r--r--net-irc/irc-server/irc-server-2.10.3_p3.ebuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/net-irc/irc-server/irc-server-2.10.3_p3.ebuild b/net-irc/irc-server/irc-server-2.10.3_p3.ebuild
index 00a52d948739..8e992d1213b7 100644
--- a/net-irc/irc-server/irc-server-2.10.3_p3.ebuild
+++ b/net-irc/irc-server/irc-server-2.10.3_p3.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irc-server/irc-server-2.10.3_p3.ebuild,v 1.3 2004/05/29 16:16:27 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irc-server/irc-server-2.10.3_p3.ebuild,v 1.4 2004/06/08 07:10:19 mkennedy Exp $
+
+MY_PV=irc${PV:0:6}${PV:7:2}
DESCRIPTION="RFC compliant IRC server"
HOMEPAGE="http://www.irc.org"
-SRC_URI="ftp://ftp.irc.org/irc/server/irc2.10.3p3.tgz
- ftp://ftp.funet.fi/pub/unix/irc/server/irc2.10.3p3.tgz"
+SRC_URI="ftp://ftp.irc.org/irc/server/${MY_PV}.tgz
+ ftp://ftp.funet.fi/pub/unix/irc/server/${MY_PV}.tgz"
LICENSE="GPL-1"
SLOT="0"
@@ -21,7 +23,12 @@ RDEPEND="sys-apps/sed
sys-apps/grep
sys-apps/textutils"
-S=${WORKDIR}/irc2.10.3p3
+S=${WORKDIR}/${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-gentoo.patch || die
+}
src_compile () {
@@ -85,7 +92,7 @@ src_compile () {
$myconf || die
cd `support/config.guess`
- emake ircd iauth chkconf ircd-mkpasswd ircdwatch tkserv || die
+ emake LDFLAGS=-lm ircd iauth chkconf ircd-mkpasswd ircdwatch tkserv || die
}
src_install() {