1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/sysutils/gkrellm2/files/patch-ae
2000-05-18 20:12:14 +00:00

22 lines
592 B
Plaintext

Index: src/Makefile.src
diff -u src/Makefile.src.orig src/Makefile.src
--- src/Makefile.src.orig Thu May 11 01:58:22 2000
+++ src/Makefile.src Fri May 19 04:53:27 2000
@@ -13,14 +13,9 @@
GTK_LIB = `$(GTK_CONFIG) --libs`
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
+CFLAGS += -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE) \
+ -DPREFIX=\"$(PREFIX)\"
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
-
-ifeq ($(debug),1)
- FLAGS += -g
-endif
-
-CC = gcc -Wall $(FLAGS)
GNOME_PREFIX = `gnome-config --prefix`