summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/l2tpd/l2tpd-0.69.ebuild')
-rw-r--r--net-dialup/l2tpd/l2tpd-0.69.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-dialup/l2tpd/l2tpd-0.69.ebuild b/net-dialup/l2tpd/l2tpd-0.69.ebuild
index a7575892aa4f..a9d613a8d13a 100644
--- a/net-dialup/l2tpd/l2tpd-0.69.ebuild
+++ b/net-dialup/l2tpd/l2tpd-0.69.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/l2tpd/l2tpd-0.69.ebuild,v 1.1 2003/11/17 19:54:29 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/l2tpd/l2tpd-0.69.ebuild,v 1.2 2004/02/11 20:18:44 lanius Exp $
DESCRIPTION="Layer 2 Tunnelling Protocol Daemon"
HOMEPAGE="http://www.l2tpd.org/"
-SRC_URI="http://www.l2tpd.org/downloads/${P}.tar.gz"
+SRC_URI="http://www.l2tpd.org/downloads/${P}.tar.gz
+ mirror://gentoo/${PN}-${PV}-gcc-3.3.patch.gz"
# http://www.jacco2.dds.nl/networking/freeswanl2tpconfig-1.1.tgz"
DEPEND="virtual/glibc"
LICENSE="GPL-2"
@@ -16,6 +17,8 @@ src_unpack() {
unpack ${A} || die
cd ${S} || die
+ epatch ${DISTDIR}/${PN}-${PV}-gcc-3.3.patch.gz
+
#compile optimized
cp Makefile Makefile.orig
sed -e "s|-g -O2|${CFLAGS}|" Makefile.orig >Makefile