mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
Index: Makefile
|
|
diff -u Makefile.orig Makefile
|
|
--- Makefile.orig Sat Jan 22 02:02:17 2005
|
|
+++ Makefile Mon Feb 14 10:42:06 2005
|
|
@@ -3,8 +3,8 @@
|
|
# You may want to rename the binary-file.
|
|
BIN_FILENAME = gkrellmms
|
|
|
|
-GTK_INCLUDE ?= `pkg-config gtk+-2.0 --cflags`
|
|
-GTK_LIB ?= `pkg-config gtk+-2.0 --libs`
|
|
+GTK_INCLUDE ?= `pkg-config gtk+-2.0 gthread-2.0 --cflags`
|
|
+GTK_LIB ?= `pkg-config gtk+-2.0 gthread-2.0 --libs`
|
|
IMLIB_INCLUDE ?=
|
|
IMLIB_LIB ?=
|
|
|
|
@@ -18,9 +18,9 @@
|
|
|
|
PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
|
|
|
|
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
|
+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
|
|
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
|
|
-LFLAGS = -shared -lpthread
|
|
+LFLAGS = -shared
|
|
|
|
ifdef USE_BMP
|
|
FLAGS += -DUSE_BMP
|
|
@@ -35,8 +35,7 @@
|
|
FLAGS += -DPACKAGE="\"$(PACKAGE)\""
|
|
export PACKAGE LOCALEDIR
|
|
|
|
-CC ?= gcc
|
|
-CC += $(CFLAGS) $(FLAGS)
|
|
+CFLAGS += $(FLAGS)
|
|
|
|
INSTALL = install -c
|
|
INSTALL_PROGRAM = $(INSTALL) -s
|
|
@@ -47,7 +46,7 @@
|
|
(cd po && ${MAKE} all )
|
|
|
|
$(BIN_FILENAME).so: $(OBJS)
|
|
- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
|
|
+ $(CC) $(CFLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o core *.so* *.bak *~
|