aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellm-gamma
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-12 06:32:06 +0800
committerpav <pav@FreeBSD.org>2004-12-12 06:32:06 +0800
commitf73ddd56811c7ad46b9259086d5f33e1ca0c1ffa (patch)
tree7e305d818ea7be87bd0942128fcb8ffcc896e8df /misc/gkrellm-gamma
parentfcc944d8cd0bfc572f1a346201313cf8453a3c11 (diff)
downloadfreebsd-ports-gnome-f73ddd56811c7ad46b9259086d5f33e1ca0c1ffa.tar.gz
freebsd-ports-gnome-f73ddd56811c7ad46b9259086d5f33e1ca0c1ffa.tar.zst
freebsd-ports-gnome-f73ddd56811c7ad46b9259086d5f33e1ca0c1ffa.zip
- Link shared version of Xxf86vm, it's more portable
Reported by: krismail Clue provider: lofi
Diffstat (limited to 'misc/gkrellm-gamma')
-rw-r--r--misc/gkrellm-gamma/Makefile2
-rw-r--r--misc/gkrellm-gamma/files/patch-Makefile17
2 files changed, 18 insertions, 1 deletions
diff --git a/misc/gkrellm-gamma/Makefile b/misc/gkrellm-gamma/Makefile
index 648f247c859f..f77ec1c941b0 100644
--- a/misc/gkrellm-gamma/Makefile
+++ b/misc/gkrellm-gamma/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gkrellm-gamma
PORTVERSION= 2.03
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= http://www.sweb.cz/tripie/gkrellm/gamma/dist/
diff --git a/misc/gkrellm-gamma/files/patch-Makefile b/misc/gkrellm-gamma/files/patch-Makefile
new file mode 100644
index 000000000000..846399fee623
--- /dev/null
+++ b/misc/gkrellm-gamma/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Sun Sep 14 19:18:12 2003
++++ Makefile Sat Dec 11 23:12:03 2004
+@@ -8,12 +8,12 @@
+ FLAGS = -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE)
+ CFLAGS ?= -O -g
+ CFLAGS += $(FLAGS)
+-LIBS = -L/usr/X11R6/lib $(GTK_LIB)
++LIBS = -L${X11BASE}/lib $(GTK_LIB) -lXxf86vm
+ LFLAGS = -shared
+ CC ?= gcc
+ INSTALL = install -c
+ INSTALL_PROGRAM = $(INSTALL) -s
+-OBJS = main.o /usr/X11R6/lib/libXxf86vm.a
++OBJS = main.o
+
+ gamma.so: $(OBJS)
+ $(CC) $(FLAGS) $(OBJS) -o gamma.so $(LIBS) $(LFLAGS)