$NetBSD: patch-au,v 1.2 2005/05/29 14:38:33 wiz Exp $

--- progs/gludebug/Makefile.orig	1996-12-07 01:19:06.000000000 +0100
+++ progs/gludebug/Makefile
@@ -14,9 +14,9 @@
 TARGET  = gludebug
 TARGET2 = tkGludebug
 SRCS    = gludebug.c
-LIBS    = -lglunix -lsocket -lnsl
+LIBS    = -lglunix
 
-BINS     = $(TARGET) $(TARGET2)
+BINS     = $(TARGET) #$(TARGET2)
 MANPAGES = $(addsuffix .1,$(BINS))
 
 ###########################################################################
@@ -29,7 +29,7 @@ all: $(TARGET)
 
 # note that the use of -R makes the use of LD_LIBRARY_PATH unnecessary...
 $(TARGET): $(SRCS)
-	$(CC) $(CFLAGS) -o $(TARGET) $(SRCS) $(RLIBPATH) $(LLIBPATH) $(INCPATH) $(LIBS)
+	g++ $(CFLAGS) -o $(TARGET) $(SRCS) $(RLIBPATH) $(LLIBPATH) $(INCPATH) $(LIBS)
 
 clean:
 	rm -f $(TARGET) core *.o *~
