summaryrefslogtreecommitdiff
path: root/x11-plugins/wmMatrix/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmMatrix/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmMatrix/files')
-rw-r--r--x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch b/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch
new file mode 100644
index 000000000000..5225ad38f679
--- /dev/null
+++ b/x11-plugins/wmMatrix/files/wmMatrix-0.2-makefile.patch
@@ -0,0 +1,34 @@
+--- Makefile.orig 1999-08-16 18:01:58.000000000 +0200
++++ Makefile 2008-01-27 23:23:36.000000000 +0100
+@@ -1,8 +1,8 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -Wall
++INCDIR = -I/usr/include/X11 -I/usr/include
++PREFIX ?= /usr
++LIBDIR ?= /usr/lib
+
+ # for Linux
+ LIBS = -lXpm -lX11 -lXext
+@@ -24,7 +24,7 @@
+
+ wmMatrix.o: wmMatrix_master.xpm wmMatrix_mask.xbm
+ wmMatrix: $(OBJS)
+- $(CC) $(COPTS) $(SYSTEM) -o wmMatrix $^ $(INCDIR) $(LIBDIR) $(LIBS)
++ $(CC) $(COPTS) $(SYSTEM) -o wmMatrix $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS)
+
+
+ clean:
+@@ -34,5 +34,6 @@
+ rm -f wmMatrix
+
+ install:: wmMatrix
+- install -c -s -m 0755 wmMatrix $(DESTDIR)/bin
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 0755 wmMatrix $(DESTDIR)$(PREFIX)/bin
+
+