summaryrefslogtreecommitdiffstats
path: root/misc/gkrellm-gamma
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gkrellm-gamma')
-rw-r--r--misc/gkrellm-gamma/Makefile5
-rw-r--r--misc/gkrellm-gamma/files/patch-Makefile2
2 files changed, 4 insertions, 3 deletions
diff --git a/misc/gkrellm-gamma/Makefile b/misc/gkrellm-gamma/Makefile
index 7b09912..06e76a1 100644
--- a/misc/gkrellm-gamma/Makefile
+++ b/misc/gkrellm-gamma/Makefile
@@ -7,16 +7,17 @@
PORTNAME= gkrellm-gamma
PORTVERSION= 2.03
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= misc
MASTER_SITES= http://www.sweb.cz/tripie/gkrellm/gamma/dist/
MAINTAINER= pav@FreeBSD.org
COMMENT= XFree86 gamma correction plugin for GKrellM
-BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
+USE_XORG= x11 xxf86vm
PLIST_FILES= libexec/gkrellm2/plugins/gamma.so
MAKE_ENV= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins
ALL_TARGET= gamma.so
diff --git a/misc/gkrellm-gamma/files/patch-Makefile b/misc/gkrellm-gamma/files/patch-Makefile
index 846399f..c907dd6 100644
--- a/misc/gkrellm-gamma/files/patch-Makefile
+++ b/misc/gkrellm-gamma/files/patch-Makefile
@@ -5,7 +5,7 @@
CFLAGS ?= -O -g
CFLAGS += $(FLAGS)
-LIBS = -L/usr/X11R6/lib $(GTK_LIB)
-+LIBS = -L${X11BASE}/lib $(GTK_LIB) -lXxf86vm
++LIBS = -L${LOCALBASE}/lib $(GTK_LIB) -lXxf86vm
LFLAGS = -shared
CC ?= gcc
INSTALL = install -c
OpenPOWER on IntegriCloud