1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/sysutils/gkrellm/files/patch-ae
2000-07-10 12:11:52 +00:00

34 lines
873 B
Plaintext

Index: src/Makefile.src
diff -u src/Makefile.src.orig src/Makefile.src
--- src/Makefile.src.orig Sun Jul 9 00:55:41 2000
+++ src/Makefile.src Mon Jul 10 20:04:52 2000
@@ -13,23 +13,22 @@
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
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
+ CFLAGS += -g
endif
ifeq ($(enable_nls),1)
- FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
+ CFLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
endif
ifeq ($(HAVE_GETADDRINFO),1)
- FLAGS += -DHAVE_GETADDRINFO
+ CFLAGS += -DHAVE_GETADDRINFO
endif
-
-CC = gcc -Wall $(FLAGS)
GNOME_PREFIX = `gnome-config --prefix`