551b0bd651
PR: 54450 Submitted by: Pav Lucistnik <pav@oook.cz> Reviewed by: Jean-Yves Lefort <jylefort@brutele.be> (maintainer)
23 lines
684 B
Text
23 lines
684 B
Text
--- Makefile.orig Mon Mar 31 13:12:57 2003
|
|
+++ Makefile Sun Jul 13 13:58:11 2003
|
|
@@ -1,9 +1,9 @@
|
|
PKGNAME = gkrellweather
|
|
VERSION = 2.0.6
|
|
-CFLAGS = -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
|
|
+CFLAGS += -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
|
|
LIBS = `pkg-config gtk+-2.0 --libs`
|
|
LFLAGS = -shared
|
|
-PREFIX = /usr/local
|
|
+PREFIX ?= /usr/local
|
|
|
|
LOCALEDIR := $(PREFIX)/share/locale
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
gkrellweather.so: $(OBJS)
|
|
(cd po && ${MAKE} all )
|
|
- $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
|
|
+ $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) ${PTHREAD_LIBS}
|
|
|
|
clean:
|
|
(cd po && ${MAKE} clean )
|