summaryrefslogtreecommitdiff
path: root/x11/cnslock
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-27 22:03:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-27 22:03:38 +0000
commitc2d205b26110b27c58093ee777a74e83d66890fb (patch)
tree8355f6ca65631cd67963db7d1aee13e56d9a90e3 /x11/cnslock
parent- Respect X11BASE (diff)
- Respect X11BASE
PR: ports/105892 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=178139
Diffstat (limited to 'x11/cnslock')
-rw-r--r--x11/cnslock/files/patch-Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/cnslock/files/patch-Makefile b/x11/cnslock/files/patch-Makefile
index 7d00a2814eb4..3be3a2a6dd1c 100644
--- a/x11/cnslock/files/patch-Makefile
+++ b/x11/cnslock/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Oct 27 09:34:22 2002
-+++ Makefile Sun Jul 6 20:33:58 2003
+--- Makefile.orig Sun Oct 27 02:34:22 2002
++++ Makefile Mon Nov 27 00:06:07 2006
@@ -2,11 +2,10 @@
PREFIX = /usr/local
@@ -14,3 +14,12 @@
all: cnslock
+@@ -17,7 +16,7 @@
+ gcc $(CFLAGS) -c applet.c -o applet.o
+
+ kleds.o: kleds.c include/kleds.h include/defines.h
+- $(CC) -Wall -I/usr/X11R6/include -c kleds.c -o kleds.o
++ $(CC) -Wall -I$(X11BASE)/include -c kleds.c -o kleds.o
+
+ cnslock: $(OBJS)
+ $(CC) -o cnslock $(OBJS) $(LIBS)