diff options
Diffstat (limited to 'system/crikey/crikey-0.8.3-Makefile.diff')
-rw-r--r-- | system/crikey/crikey-0.8.3-Makefile.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/system/crikey/crikey-0.8.3-Makefile.diff b/system/crikey/crikey-0.8.3-Makefile.diff new file mode 100644 index 0000000000..28e70ec984 --- /dev/null +++ b/system/crikey/crikey-0.8.3-Makefile.diff @@ -0,0 +1,33 @@ +diff -Nur crikey-0.8.3.orig/Makefile crikey-0.8.3/Makefile +--- crikey-0.8.3.orig/Makefile 2009-06-15 18:14:05.000000000 -0500 ++++ crikey-0.8.3/Makefile 2009-10-18 00:59:26.654268333 -0500 +@@ -1,8 +1,13 @@ + CC = gcc +-CFLAGS = -Wall -Wstrict-prototypes -g -O2 ++OPTS = -O2 ++CFLAGS = -Wall -Wstrict-prototypes -g $(OPTS) + SRC = crikey.c + OBJ = $(SRC:.c=.o) +-LIBS = -L/usr/X11R6/lib -lX11 -lXtst -lXext ++X11LIBS = /usr/X11R6/lib ++LIBS = -L$(X11LIBS) -lX11 -lXtst -lXext ++PREFIX = /usr/local ++BINDIR = $(PREFIX)/bin ++DESTDIR = + + all: crikey + +@@ -10,10 +15,11 @@ + $(CC) -o crikey $(OBJ) $(LIBS) + + install: crikey +- cp crikey /usr/local/bin ++ mkdir -p $(DESTDIR)/$(BINDIR) ++ cp crikey $(DESTDIR)/$(BINDIR) + + uninstall: +- rm -f /usr/local/bin/crikey ++ rm -f $(DESTDIR)/$(BINDIR)/crikey + + clean: + rm -f $(OBJ) crikey *~ |