summaryrefslogtreecommitdiff
path: root/misc/gkrellweather2/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gkrellweather2/files/patch-Makefile')
-rw-r--r--misc/gkrellweather2/files/patch-Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/misc/gkrellweather2/files/patch-Makefile b/misc/gkrellweather2/files/patch-Makefile
deleted file mode 100644
index 0104529dce95..000000000000
--- a/misc/gkrellweather2/files/patch-Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.orig 2009-01-11 18:15:02 UTC
-+++ Makefile
-@@ -1,9 +1,9 @@
- PKGNAME = gkrellweather
- VERSION = 2.0.8
--CFLAGS = -O2 -std=gnu99 -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
-
-@@ -14,13 +14,13 @@ endif
- CFLAGS += -DPACKAGE="\"$(PKGNAME)\""
- export PKGNAME LOCALEDIR
-
--CC = gcc
-+CC ?= gcc
-
- OBJS = gkrellweather.o
-
- 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
-
- clean:
- (cd po && ${MAKE} clean )