openbsd-ports/x11/gkrellweather/patches/patch-Makefile

23 lines
585 B
Plaintext

--- Makefile.orig Sun Aug 26 12:03:34 2001
+++ Makefile Sun Aug 26 12:03:51 2001
@@ -5,16 +5,16 @@
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB)
LFLAGS = -shared
-CC = gcc $(CFLAGS) $(FLAGS)
+#CC = gcc $(CFLAGS) $(FLAGS)
OBJS = gkrellweather.o
gkrellweather.so: $(OBJS)
- $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
+ $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -pthread
clean:
rm -f *.o core *.so* *.bak *~