]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/inetutils
Hinzugefuegt:
[people/pmueller/ipfire-2.x.git] / lfs / inetutils
index 4f0b6067eac3c93d673e72888dc1803762c7b2e0..ae78dd287f515a3e266ac7a8a0ca91569bbba62a 100644 (file)
 # Makefiles are based on LFSMake, which is                                    #
 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
 #                                                                             #
-# Modifications by:                                                           #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
-#          - Modified Makefile for IPCop build                                #
-#                                                                             #
-# $Id: inetutils,v 1.3.2.3 2005/02/05 15:38:15 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
@@ -36,7 +30,7 @@ VER        = 1.4.2
 
 THISAPP    = inetutils-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_GNU)/inetutils
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
@@ -78,13 +72,14 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-ping-1.patch
-       cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --disable-syslogd \
-           --libexecdir=/usr/sbin --disable-logger \
-           --sysconfdir=/etc --localstatedir=/var \
-           --disable-whois --disable-servers
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4_fixes-3.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-daemon_fixes-1.patch
+       cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/sbin \
+                               --sysconfdir=/etc --localstatedir=/var \
+                               --mandir=/usr/share/man --infodir=/usr/share/info \
+                               --disable-logger --disable-syslogd
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       mv -f /usr/bin/ping /bin
+       mv -v /usr/bin/ping /bin
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)