diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-04 14:39:53 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-04 14:39:53 +0000 |
commit | f1f2401a80c7d512544ed6a11071ef6b7bc11c87 (patch) | |
tree | 9fc0f4a867fed26b23bb2f0a7155de5f76d581db /net-misc/dhcp | |
parent | Added dev-php4 and dev-php5 categories (diff) | |
download | gentoo-2-f1f2401a80c7d512544ed6a11071ef6b7bc11c87.tar.gz gentoo-2-f1f2401a80c7d512544ed6a11071ef6b7bc11c87.tar.bz2 gentoo-2-f1f2401a80c7d512544ed6a11071ef6b7bc11c87.zip |
Added patch to fix wrong 'make' calls on Gentoo/FreeBSD.
(Portage version: 2.0.51.22)
Diffstat (limited to 'net-misc/dhcp')
-rw-r--r-- | net-misc/dhcp/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/dhcp/dhcp-3.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-misc/dhcp/files/dhcp-3.0.2-gmake.patch | 66 |
3 files changed, 74 insertions, 2 deletions
diff --git a/net-misc/dhcp/ChangeLog b/net-misc/dhcp/ChangeLog index f12cc8229b5d..94ac2d19448e 100644 --- a/net-misc/dhcp/ChangeLog +++ b/net-misc/dhcp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/dhcp # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.55 2005/09/04 00:03:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.56 2005/09/04 14:39:53 flameeyes Exp $ + + 04 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/dhcp-3.0.2-gmake.patch, dhcp-3.0.2.ebuild: + Added patch to fix wrong 'make' calls on Gentoo/FreeBSD. 04 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> dhcp-3.0.2.ebuild: Remove -Werror cflag that is passed when building on FreeBSD to fix diff --git a/net-misc/dhcp/dhcp-3.0.2.ebuild b/net-misc/dhcp/dhcp-3.0.2.ebuild index b0c20ae0a9c1..ba56b11f7e65 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.4 2005/09/04 00:03:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.2.ebuild,v 1.5 2005/09/04 14:39:53 flameeyes Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -37,6 +37,8 @@ src_unpack() { # FreeBSD doesn't like -Werror that is forced on sed -i -e 's:-Werror::' Makefile.conf + + epatch ${FILESDIR}/${P}-gmake.patch } src_compile() { diff --git a/net-misc/dhcp/files/dhcp-3.0.2-gmake.patch b/net-misc/dhcp/files/dhcp-3.0.2-gmake.patch new file mode 100644 index 000000000000..4ab99a2b71a9 --- /dev/null +++ b/net-misc/dhcp/files/dhcp-3.0.2-gmake.patch @@ -0,0 +1,66 @@ +Index: dhcp-3.0.2/Makefile +=================================================================== +--- dhcp-3.0.2.orig/Makefile ++++ dhcp-3.0.2/Makefile +@@ -33,7 +33,7 @@ all: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make all); \ ++ (cd work.$$sysname; $(MAKE) all); \ + fi + + install: +@@ -41,7 +41,7 @@ install: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make install); \ ++ (cd work.$$sysname; $(MAKE) install); \ + fi + + depend: +@@ -49,7 +49,7 @@ depend: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make depend); \ ++ (cd work.$$sysname; $(MAKE) depend); \ + fi + + clean: +@@ -57,7 +57,7 @@ clean: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make clean); \ ++ (cd work.$$sysname; $(MAKE) clean); \ + fi + + realclean: +@@ -65,7 +65,7 @@ realclean: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make realclean); \ ++ (cd work.$$sysname; $(MAKE) realclean); \ + fi + + distclean: +@@ -73,7 +73,7 @@ distclean: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make distclean); \ ++ (cd work.$$sysname; $(MAKE) distclean); \ + fi + + links: +@@ -81,6 +81,6 @@ links: + if [ ! -d work.$$sysname ]; then \ + echo No build directory for $$sysname - please run ./configure.; \ + else \ +- (cd work.$$sysname; make links); \ ++ (cd work.$$sysname; $(MAKE) links); \ + fi + |