diff options
Diffstat (limited to 'package/net-tools/patches/patch-Makefile.orig')
-rw-r--r-- | package/net-tools/patches/patch-Makefile.orig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/net-tools/patches/patch-Makefile.orig b/package/net-tools/patches/patch-Makefile.orig new file mode 100644 index 000000000..31c4b8ba3 --- /dev/null +++ b/package/net-tools/patches/patch-Makefile.orig @@ -0,0 +1,34 @@ +--- net-tools-1.60.orig/Makefile 2001-04-15 16:34:31.000000000 +0200 ++++ net-tools-1.60/Makefile 2011-11-15 11:30:19.227768488 +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,7 +113,9 @@ endif + + NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a + +-CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) ++CFLAGS ?= ++CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) ++LDFLAGS ?= -lssp + 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 |