summaryrefslogtreecommitdiff
path: root/package/traceroute/patches/patch-Make_rules
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-10-16 20:10:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-10-16 20:10:34 +0200
commit94c0a7374ee0c980a34e134f93dca1d46e7af7bc (patch)
tree134e5415fb5d2ccc613bdab46c97f5fa3df8c730 /package/traceroute/patches/patch-Make_rules
parent07c250a84c1cc9ace9ebf00800f2125461a2662b (diff)
parent084c175e59e9ea61c68154ad9982adcd918cbfcf (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/freeradius-server/Makefile package/nss/patches/patch-mozilla_security_coreconf_Linux_mk
Diffstat (limited to 'package/traceroute/patches/patch-Make_rules')
-rw-r--r--package/traceroute/patches/patch-Make_rules28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/traceroute/patches/patch-Make_rules b/package/traceroute/patches/patch-Make_rules
new file mode 100644
index 000000000..35f8b4003
--- /dev/null
+++ b/package/traceroute/patches/patch-Make_rules
@@ -0,0 +1,28 @@
+--- traceroute-2.0.16.orig/Make.rules 2010-09-09 16:20:46.000000000 +0200
++++ traceroute-2.0.16/Make.rules 2010-10-11 20:07:03.000000000 +0200
+@@ -46,14 +46,14 @@ $(call set, INSTALL, cp)
+ $(call set, INDENT, true)
+
+ gcc = $(findstring gcc,$(CC))
+-$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O))
++$(call set, CFLAGS, )
+ $(call set, CPPFLAGS, )
+ $(call set, LDFLAGS, -s)
+ $(call set, LIBS, )
+
+
+ # install stuff
+-prefix = /usr/local
++prefix = /usr
+
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+@@ -125,7 +125,7 @@ _libs = $(strip $(foreach lib,$(LIBDIRS)
+ $(wildcard $(srcdir)/$(lib)/$(lib).so \
+ $(srcdir)/$(lib)/$(lib).a))))
+
+-override LIBS := $(_libs) -lm $(LIBS)
++override LIBS := $(_libs) $(LIBS)
+
+ ifneq ($(gcc),)
+ CPATH = $(subst $(empty) ,:,$(includes))