summaryrefslogtreecommitdiff
path: root/x11/xrootconsole/patches
diff options
context:
space:
mode:
authorcheusov <cheusov>2015-04-20 20:21:32 +0000
committercheusov <cheusov>2015-04-20 20:21:32 +0000
commit75b75400e65a7aa31f5b85ff2f1b6575a36f3df7 (patch)
tree2aa957b7001d297920123bd9e6e79db81e170de8 /x11/xrootconsole/patches
parent3da1265a37011e3b5f399f6ca9fd090bc658db3c (diff)
downloadpkgsrc-75b75400e65a7aa31f5b85ff2f1b6575a36f3df7.tar.gz
xrootconsole is a small utility which displays its input in a transparent
text box on X's root window. It will read from any file listed on the command line or, by default, from stdin. It is most useful when it reads from a FIFO; this allows you to redirect multiple commands to the FIFO and monitor their output.
Diffstat (limited to 'x11/xrootconsole/patches')
-rw-r--r--x11/xrootconsole/patches/patch-aa45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11/xrootconsole/patches/patch-aa b/x11/xrootconsole/patches/patch-aa
new file mode 100644
index 00000000000..00b0d747fc1
--- /dev/null
+++ b/x11/xrootconsole/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2015/04/20 20:21:32 cheusov Exp $
+
+--- Makefile.orig 2004-02-20 21:53:28.000000000 +0000
++++ Makefile
+@@ -34,6 +34,9 @@
+
++PREFIX ?= /usr/local
++X11BASE ?= /usr/X11R7
++
+ EXEC = xrootconsole
+-BINDIR = /usr/local/bin
++BINDIR = $(PREFIX)/bin
+ MANFILE = xrootconsole.1
+-MANDIR = /usr/local/share/man/man1
++MANDIR = $(PREFIX)/man/man1
+
+@@ -46,15 +49,13 @@ VERSION = $(shell tag=$$(echo '$$Name: R
+ CC = gcc
+-CPPFLAGS =
++CPPFLAGS += -I $(X11BASE)/include
++LDFLAGS += -L $(X11BASE)/lib
++LIBS += -lX11 -lutil
+
+ # for production
+-CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
+- -I /usr/X11R6/include
+-LDFLAGS = -s
++CFLAGS += -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\""
++LDFLAGS += -s
+
+ # for testing
+-#CFLAGS = -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\"" \
+- -I /usr/X11R6/include
+-#LDFLAGS =
+-
+-LIBS = -L/usr/X11R6/lib -lX11 -lutil
++#CFLAGS += -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\""
++#LDFLAGS +=
+
+@@ -78,3 +79,3 @@ realclean:
+ install: $(EXEC)
+- cp $(EXEC) $(BINDIR)
+- cp $(MANFILE) $(MANDIR)
++ cp $(EXEC) $(DESTDIR)$(BINDIR)
++ cp $(MANFILE) $(DESTDIR)$(MANDIR)