summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-04 00:03:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-04 00:03:20 +0000
commit27bced25a39f5add1772d2d9516a03804770b7f9 (patch)
treeee6ffe756900b4c5ec4e81905f095c36bb59b47c /net-misc/dhcp/dhcp-3.0.2.ebuild
parentDon't install COPYING file. (diff)
downloadgentoo-2-27bced25a39f5add1772d2d9516a03804770b7f9.tar.gz
gentoo-2-27bced25a39f5add1772d2d9516a03804770b7f9.tar.bz2
gentoo-2-27bced25a39f5add1772d2d9516a03804770b7f9.zip
Remove -Werror cflag that is passed when building on FreeBSD to fix Gentoo/FreeBSD.
(Portage version: 2.0.51.22)
Diffstat (limited to 'net-misc/dhcp/dhcp-3.0.2.ebuild')
-rw-r--r--net-misc/dhcp/dhcp-3.0.2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-misc/dhcp/dhcp-3.0.2.ebuild b/net-misc/dhcp/dhcp-3.0.2.ebuild
index af00de13d764..b0c20ae0a9c1 100644
--- a/net-misc/dhcp/dhcp-3.0.2.ebuild
+++ b/net-misc/dhcp/dhcp-3.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.2.ebuild,v 1.3 2005/08/24 00:07:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.2.ebuild,v 1.4 2005/09/04 00:03:20 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -34,6 +34,9 @@ src_unpack() {
epatch ${PATCHDIR}
has noman ${FEATURES} && sed -i 's:nroff:echo:' */Makefile.dist
+
+ # FreeBSD doesn't like -Werror that is forced on
+ sed -i -e 's:-Werror::' Makefile.conf
}
src_compile() {