diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-11-17 12:51:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-11-17 12:51:22 +0100 |
commit | 9f02979caebb6e900fe101a257d8e6c344a7a173 (patch) | |
tree | 350b808ae23e8abb4ff08d472b76104a89e1f35a /package/net-tools/patches/patch-Makefile | |
parent | afb9908771db100ee97bb933fcca850c4f49af5a (diff) | |
parent | ee3c54b1570b9dd8ea900a11d496ced1ad1ae356 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/net-tools/patches/patch-Makefile')
-rw-r--r-- | package/net-tools/patches/patch-Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/net-tools/patches/patch-Makefile b/package/net-tools/patches/patch-Makefile new file mode 100644 index 000000000..9a27f7e64 --- /dev/null +++ b/package/net-tools/patches/patch-Makefile @@ -0,0 +1,36 @@ +--- net-tools-1.60.orig/Makefile 2001-04-15 16:34:31.000000000 +0200 ++++ net-tools-1.60/Makefile 2011-11-15 11:30:52.379769328 +0100 +@@ -76,7 +76,7 @@ + NET_LIB_PATH = lib + NET_LIB_NAME = net-tools + +-PROGS := ifconfig hostname arp netstat route rarp slattach plipconfig nameif ++PROGS := arp + + -include config.make + ifeq ($(HAVE_IP_TOOLS),1) +@@ -113,8 +113,10 @@ endif + + NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a + +-CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) +-LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH) ++CFLAGS ?= ++CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) ++LDFLAGS ?= ++LDFLAGS += $(LOPTS) -L$(NET_LIB_PATH) + + SUBDIRS = man/ $(NET_LIB_PATH)/ + +@@ -160,11 +162,6 @@ dist: clobber + + + config.h: config.in Makefile +- @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo +- @if [ config.status -nt config.in ]; \ +- then ./configure.sh config.status; \ +- else ./configure.sh config.in; \ +- fi + + + version.h: Makefile |