summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/net-tools/files/1.60_p20071202044231/0002-respect-normal-toolchain-envvars.patch')
-rw-r--r--sys-apps/net-tools/files/1.60_p20071202044231/0002-respect-normal-toolchain-envvars.patch66
1 files changed, 0 insertions, 66 deletions
diff --git a/sys-apps/net-tools/files/1.60_p20071202044231/0002-respect-normal-toolchain-envvars.patch b/sys-apps/net-tools/files/1.60_p20071202044231/0002-respect-normal-toolchain-envvars.patch
deleted file mode 100644
index 3bfbfc032144..000000000000
--- a/sys-apps/net-tools/files/1.60_p20071202044231/0002-respect-normal-toolchain-envvars.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From 8903f55c34c4f7a4bed25b7961717fdf4652704b Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Sun, 13 Apr 2008 23:58:07 -0400
-Subject: [PATCH] respect normal toolchain envvars
-
----
- Makefile | 17 +++++++----------
- 1 files changed, 7 insertions(+), 10 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 8fcc55c..a2f0c77 100644
---- a/Makefile
-+++ b/Makefile
-@@ -88,10 +88,9 @@ endif
-
- # Compiler and Linker Options
- # You may need to uncomment and edit these if you are using libc5 and IPv6.
--COPTS = -D_GNU_SOURCE -O2 -Wall -g # -I/usr/inet6/include
--ifeq ($(origin LOPTS), undefined)
--LOPTS =
--endif
-+CFLAGS ?= -O2 -g
-+CFLAGS += -Wall
-+CPPFLAGS += -D_GNU_SOURCE
- RESLIB = # -L/usr/inet6/lib -linet6
-
- ifeq ($(HAVE_AFDECnet),1)
-@@ -113,8 +112,8 @@ 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)
-+CPPFLAGS += -I. -idirafter ./include/ -I$(NET_LIB_PATH)
-+LDFLAGS += -L$(NET_LIB_PATH)
-
- SUBDIRS = man/ $(NET_LIB_PATH)/
-
-@@ -125,8 +124,6 @@ LD = $(CC)
-
- NLIB = -l$(NET_LIB_NAME)
-
--MDEFINES = COPTS='$(COPTS)' LOPTS='$(LOPTS)' TOPDIR='$(TOPDIR)'
--
- %.o: %.c config.h version.h intl.h net-features.h $<
- $(CC) $(CFLAGS) -c $<
-
-@@ -176,13 +173,13 @@ $(NET_LIB): config.h version.h intl.h libdir
- i18n.h: i18ndir
-
- libdir:
-- @$(MAKE) -C $(NET_LIB_PATH) $(MDEFINES)
-+ @$(MAKE) -C $(NET_LIB_PATH)
-
- i18ndir:
- @$(MAKE) -C po
-
- subdirs:
-- @for i in $(SUBDIRS); do $(MAKE) -C $$i $(MDEFINES) ; done
-+ @for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
-
- ifconfig: $(NET_LIB) ifconfig.o
- $(CC) $(LDFLAGS) -o ifconfig ifconfig.o $(NLIB) $(RESLIB)
---
-1.5.5
-