aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmvolume2/files
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-06-22 18:16:28 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-06-22 18:16:28 +0000
commit2fb59f6467f1380a61238b6cba0a7a3385ba6b3e (patch)
tree46a38075aeb1535a61b9ea8f3fc6abdb207ca22b /audio/gkrellmvolume2/files
parent3af15641a04c59fdc983cbd1f56f706fb8727694 (diff)
downloadports-2fb59f6467f1380a61238b6cba0a7a3385ba6b3e.tar.gz
ports-2fb59f6467f1380a61238b6cba0a7a3385ba6b3e.zip
Notes
Diffstat (limited to 'audio/gkrellmvolume2/files')
-rw-r--r--audio/gkrellmvolume2/files/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/audio/gkrellmvolume2/files/patch-aa b/audio/gkrellmvolume2/files/patch-aa
new file mode 100644
index 000000000000..b669733dc1e3
--- /dev/null
+++ b/audio/gkrellmvolume2/files/patch-aa
@@ -0,0 +1,47 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
+--- Makefile.orig Thu Jun 15 21:02:13 2000
++++ Makefile Thu Jun 22 22:16:36 2000
+@@ -1,15 +1,15 @@
+ # Makefile for GKrellM volume plugin
+
+ # Linux
+-GTK_CONFIG = gtk-config
+-SYSLIB = -lpthread
++#GTK_CONFIG = gtk-config
++#SYSLIB = -lpthread
+
+ # FreeBSD
+ #GTK_CONFIG = gtk12-config
+ #SYSLIB =
+
+-PLUGIN_DIR = /usr/share/gkrellm/plugins
+-GKRELLM_INCLUDE = -I/usr/local/include
++PLUGIN_DIR = $(PREFIX)/libexec/gkrellm/plugins
++GKRELLM_INCLUDE = -I$(PREFIX)/include
+
+ GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+ GTK_LIB = `$(GTK_CONFIG) --libs`
+@@ -17,12 +17,10 @@
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
+ LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
+-
+ INSTALL = install -c
+ INSTALL_PROGRAM = $(INSTALL) -s
+
+@@ -34,7 +32,7 @@
+ make GTK_CONFIG=gtk12-config SYSLIB= all
+
+ volume.so: $(OBJS)
+- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
++ $(CC) $(CFLAGS) $(OBJS) -o volume.so $(LFLAGS) $(LIBS)
+
+ clean:
+ rm -f *.o core *.so* *.bak *~