diff options
Diffstat (limited to 'net/gkrellmwireless/files/patch-aa')
-rw-r--r-- | net/gkrellmwireless/files/patch-aa | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net/gkrellmwireless/files/patch-aa b/net/gkrellmwireless/files/patch-aa new file mode 100644 index 000000000000..86f987d6b6cc --- /dev/null +++ b/net/gkrellmwireless/files/patch-aa @@ -0,0 +1,44 @@ +--- Makefile.orig Sun Sep 9 07:12:41 2001 ++++ Makefile Mon Mar 4 22:51:36 2002 +@@ -1,36 +1,24 @@ + # Depends on gmake.. + # +-OS = $(shell uname) +- +-ifeq ($(OS),FreeBSD) +- GTK_CONFIG = gtk12-config +- INCLUDE = -I/usr/src/sys +-elseif eq ($(OS),NetBSD) +- GTK_CONFIG = gtk-config +-else +-# default to the linux +- GTK_CONFIG = gtk-config +-endif +- + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread` + GTK_LIB = `$(GTK_CONFIG) --libs gthread` + +-IMLIB_INCLUDE = `imlib-config --cflags-gdk` +-IMLIB_LIB = `imlib-config --libs-gdk` ++IMLIB_INCLUDE = `${IMLIB_CONFIG} --cflags-gdk` ++IMLIB_LIB = `${IMLIB_CONFIG} --libs-gdk` + + +-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) ++CFLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC ?= gcc $(CFLAGS) $(FLAGS) + + OBJS = wireless.o + + INSTALL = install -c -s + INSTALL_PERMS = -m 755 +-PLUGIN_DIR = /usr/lib/gkrellm/plugins ++PLUGIN_DIR = ${PREFIX}/libexec/gkrellm/plugins + + + all: wireless.so |