summaryrefslogtreecommitdiff
path: root/package/traceroute/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
commit838ba34414112d674ed917d83bdae7c1a8dafdc6 (patch)
tree4303cceddeb48d74755cbacc0b06eadaf45c1d37 /package/traceroute/patches
parentb2d07cf71c35790672584d9d7bef255fd5bc554c (diff)
make MacOS X works as build system for most of the packages, update some packages to latest stable upstream version
Diffstat (limited to 'package/traceroute/patches')
-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))