summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-04 03:47:44 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-04 03:47:44 +0000
commit6b5978d5920d58d46d505fd5fbe0238eff50698b (patch)
treefe7501aaf38c4ae46805e59cfba4e3493bb53667 /net-misc
parentold (Manifest recommit) (diff)
downloadgentoo-2-6b5978d5920d58d46d505fd5fbe0238eff50698b.tar.gz
gentoo-2-6b5978d5920d58d46d505fd5fbe0238eff50698b.tar.bz2
gentoo-2-6b5978d5920d58d46d505fd5fbe0238eff50698b.zip
fix USE=static #69947
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dhcp/dhcp-3.0.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-misc/dhcp/dhcp-3.0.1.ebuild b/net-misc/dhcp/dhcp-3.0.1.ebuild
index 4f6d9228fa12..f633c6276440 100644
--- a/net-misc/dhcp/dhcp-3.0.1.ebuild
+++ b/net-misc/dhcp/dhcp-3.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.1.ebuild,v 1.8 2004/10/26 14:16:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.1.ebuild,v 1.9 2004/11/04 03:47:44 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -31,7 +31,7 @@ src_compile() {
# 01/Mar/2003: Fix for bug #11960 by Jason Wever <weeve@gentoo.org>
[ "${ARCH}" == "sparc" ] && filter-flags -O3 -O2 -O
- use static && append-flags -static
+ use static && append-ldflags -static
cat <<-END >> includes/site.h
#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
@@ -43,6 +43,7 @@ src_compile() {
cat <<-END > site.conf
CC = $(tc-getCC)
+ LFLAGS = ${LDFLAGS}
LIBDIR = /usr/lib
INCDIR = /usr/include
ETC = /etc/dhcp