summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-22 03:22:41 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-22 03:22:41 +0000
commit4784769405b5c2d4a3cc0b2d56aa26645374f5c1 (patch)
tree4354be1d7f798f84dfdf080f5fcbe2e131c044d3 /net-misc/udhcp
parentAdded gnuconfig support for mips64 hosts (diff)
downloadhistorical-4784769405b5c2d4a3cc0b2d56aa26645374f5c1.tar.gz
historical-4784769405b5c2d4a3cc0b2d56aa26645374f5c1.tar.bz2
historical-4784769405b5c2d4a3cc0b2d56aa26645374f5c1.zip
support cross compiling nicer
Diffstat (limited to 'net-misc/udhcp')
-rw-r--r--net-misc/udhcp/udhcp-0.9.8-r3.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
index c56eb80334af..a1fb5a503d27 100644
--- a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
+++ b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.4 2004/03/18 03:15:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.5 2004/03/22 03:22:41 vapier Exp $
inherit eutils
@@ -21,7 +21,7 @@ pkg_setup() {
}
src_compile() {
- emake SYSLOG=1 || die
+ emake CROSS_COMPILE=${CHOST}- STRIP=true SYSLOG=1 || die
}
src_install() {
@@ -30,7 +30,13 @@ src_install() {
insinto /etc
doins samples/udhcpd.conf
- make prefix=${D}/usr SBINDIR=${D}/sbin install || die
+ make \
+ prefix=${D}/usr \
+ SBINDIR=${D}/sbin \
+ CROSS_COMPILE=${CHOST}- \
+ STRIP=true \
+ install \
+ || die
dodoc AUTHORS COPYING ChangeLog README* TODO