pkgsrc/audio/gtkmserv/patches/patch-aa

26 lines
671 B
Text

$NetBSD: patch-aa,v 1.4 2004/06/12 01:20:57 grant Exp $
--- Makefile.in.orig 2001-01-30 13:20:31.000000000 +1100
+++ Makefile.in
@@ -1,4 +1,4 @@
-CC = gcc -Wall -ggdb
+# CC = gcc -Wall -ggdb
LIBS = `gtk-config --libs`
LIBS_DEBUG = -lefence
CFLAGS = `gtk-config --cflags`
@@ -9,11 +9,11 @@ SRCS = main.c menu.c mserv.c on.c se
OBJS = main.o menu.o mserv.o on.o setup.o utils.o window.o album.o \
queue.o
.c.o:
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
all: $(OBJS)
- $(CC) $(LIBS) -o gtkMserv $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -o gtkMserv $(OBJS)
clean:
rm *.o
- rm core
\ No newline at end of file
+ rm core