summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2004-09-04 00:33:24 +0000
committerDaniel Goller <morfic@gentoo.org>2004-09-04 00:33:24 +0000
commitc77b772f5db051759977e6c4a9ed36269f4bb855 (patch)
treec2c69472625abcb8308b107e9762d70556d5774a /net-misc/udhcp/udhcp-0.9.8-r3.ebuild
parentx11-plugins/wmcoincoin-2.5.0c stable for x86. (Manifest recommit) (diff)
downloadgentoo-2-c77b772f5db051759977e6c4a9ed36269f4bb855.tar.gz
gentoo-2-c77b772f5db051759977e6c4a9ed36269f4bb855.tar.bz2
gentoo-2-c77b772f5db051759977e6c4a9ed36269f4bb855.zip
applying gcc3.4 patch fixing bug #62714
Diffstat (limited to 'net-misc/udhcp/udhcp-0.9.8-r3.ebuild')
-rw-r--r--net-misc/udhcp/udhcp-0.9.8-r3.ebuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
index 29bf15bde2a0..992182daba2a 100644
--- a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
+++ b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.9 2004/07/01 22:06:12 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.10 2004/09/04 00:33:24 morfic Exp $
-inherit eutils
+inherit eutils gcc
DESCRIPTION="udhcp Server/Client Package"
HOMEPAGE="http://udhcp.busybox.net/"
@@ -21,6 +21,17 @@ pkg_setup() {
enewuser dhcp -1 /bin/false /var/lib/dhcp dhcp
}
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ #fixes #62714, thanks GurliGebis
+ if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
+ then
+ epatch ${FILESDIR}/udhcp-gcc-3.4.patch
+ fi
+}
+
src_compile() {
emake CROSS_COMPILE=${CHOST}- STRIP=true SYSLOG=1 || die
}