From c031bfdb6eb7d78e3747ca19516977a56fc8f71a Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 13 Jun 2011 19:49:29 +0200
Subject: fix some bulk build issues

---
 package/gkrellm/patches/patch-server_Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'package/gkrellm')

diff --git a/package/gkrellm/patches/patch-server_Makefile b/package/gkrellm/patches/patch-server_Makefile
index 9f070e275..a1a8747e7 100644
--- a/package/gkrellm/patches/patch-server_Makefile
+++ b/package/gkrellm/patches/patch-server_Makefile
@@ -1,5 +1,5 @@
 --- gkrellm-2.3.4.orig/server/Makefile	2008-10-03 23:52:48.000000000 +0200
-+++ gkrellm-2.3.4/server/Makefile	2011-01-15 18:37:40.000000000 +0100
++++ gkrellm-2.3.4/server/Makefile	2011-05-17 11:34:14.926610183 +0200
 @@ -26,7 +26,7 @@ SMANDIR ?= $(INSTALLROOT)/share/man/man1
  MANMODE ?= 644
  MANDIRMODE ?= 755
@@ -9,7 +9,7 @@
  EXTRAOBJS =
  
  SHARED_PATH = ../shared
-@@ -109,8 +109,8 @@ endif
+@@ -109,15 +109,15 @@ endif
  
  override CC += -Wall $(FLAGS)
  
@@ -20,3 +20,11 @@
  
  OBJS = main.o monitor.o mail.o plugins.o glib.o utils.o sysdeps-unix.o log.o
  
+ all:	gkrellmd
+ 
+ gkrellmd: $(OBJS) $(EXTRAOBJS)
+-	$(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd $(LIBS) $(LINK_FLAGS)
++	$(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd $(LINK_FLAGS) $(LIBS)
+ 
+ static: $(OBJS) $(EXTRAOBJS)
+ 	$(CC) $(OBJS) $(EXTRAOBJS) -o gkrellmd.static -static \
-- 
cgit v1.2.3