summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/mdk/files/3.5-Makefile.patch')
-rw-r--r--net-wireless/mdk/files/3.5-Makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-wireless/mdk/files/3.5-Makefile.patch b/net-wireless/mdk/files/3.5-Makefile.patch
new file mode 100644
index 000000000..e9e4197b5
--- /dev/null
+++ b/net-wireless/mdk/files/3.5-Makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile 2007-07-18 16:16:54.000000000 +0200
++++ Makefile.new 2009-04-01 09:17:06.000000000 +0200
+@@ -1,8 +1,8 @@
+-CFLAGS = -g -O3 -Wall -Wextra
+-LINKFLAGS = -lpthread
++CFLAGS +=
++LINKFLAGS = $(LDFLAGS)
+
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr/
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+--- Makefile 2009-04-01 09:24:46.000000000 +0200
++++ Makefile.new 2009-04-01 09:25:08.000000000 +0200
+@@ -6,7 +6,7 @@
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+-LIBS = -L$(OSD) -l$(OSD)
++LIBS = -L$(OSD) -l$(OSD) -lpthread
+ LIBOSD = $(OSD)/lib$(OSD).so
+
+