mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 17:20:29 -04:00
- Update patch due another URL change - Regenerate patches with 'make makepatch' (pet portlint) - Update pkg-descr - Bump PORTREVISION PR: 212693 Submitted by: etteldor@gmail.com Approved by: amdmi3 (mentor)
30 lines
783 B
Text
30 lines
783 B
Text
--- 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 )
|