summaryrefslogtreecommitdiff
path: root/x11/xbanner/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xbanner/files/patch-Makefile')
-rw-r--r--x11/xbanner/files/patch-Makefile64
1 files changed, 0 insertions, 64 deletions
diff --git a/x11/xbanner/files/patch-Makefile b/x11/xbanner/files/patch-Makefile
deleted file mode 100644
index 231e7a92c1cc..000000000000
--- a/x11/xbanner/files/patch-Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
---- Makefile.orig 1997-05-12 23:55:59.000000000 +0800
-+++ Makefile 2014-01-09 21:06:36.000000000 +0800
-@@ -6,22 +6,22 @@
-
- .SUFFIXES: .c .o
-
--CC =gcc
-+CC ?=gcc
- RM =rm
- LN =ln
--INSTALL =install
-+INSTALL ?=install
- CP =cp
- TAR =tar
- GZIP =gzip
-
- # Binary directory for make install
--BINDIR =/usr/local/bin/X11
-+BINDIR =$(PREFIX)/bin
-
- # Library directories for Linux
--XLIBDIR =/usr/X11R6/lib
-+XLIBDIR =$(LOCALBASE)/lib
-
- # Include directory for gcc (if you get X11/Xlib.h: file not found)
--#INCDIR =-I/usr/X11R6/include
-+INCDIR =-I$(LOCALBASE)/include
-
- # Library directories for the Ultrix (probably most Unixes)
- #XLIBDIR =/usr/lib/X11
-@@ -34,7 +34,7 @@ XPMLIB =-lXpm
- $(CC) $(INCDIR) $(CFLAGS) $(XPM) -c $*.c
-
- # Linux CFLAGS (actually generic gcc)
--CFLAGS=-Wall -O2
-+#CFLAGS=-Wall -O2
-
- # Want static binaries?
- #CFLAGS=-Wall -O2 -static
-@@ -48,7 +48,7 @@ CFLAGS=-Wall -O2
- # Most Linux users won't be troubled by this. Actually almost nobody will
- # be troubled by this. It just might save me a couple of emails...
- # Just change it to wherever your libX11.a resides.
--LDFLAGS=-L$(XLIBDIR)
-+LDFLAGS+=-L$(XLIBDIR)
-
- all: xbanner freetemp random_effect xb_check
-
-@@ -70,10 +70,11 @@ random_effect: random_effect.o
- xb_check: xb_check.o
- $(CC) $(CFLAGS) -o xb_check xb_check.o
-
--install: freetemp xbanner xb_check
-- $(INSTALL) --strip --mode "0755" --owner root --group bin freetemp $(BINDIR)/freetemp
-- $(INSTALL) --strip --mode "0755" --owner root --group bin xbanner $(BINDIR)/xbanner
-- $(INSTALL) --strip --mode "0755" --owner root --group bin xb_check $(BINDIR)/xb_check
-+install: freetemp xbanner xb_check random_effect
-+ ${BSD_INSTALL_PROGRAM} freetemp $(DESTDIR)$(BINDIR)/freetemp
-+ ${BSD_INSTALL_PROGRAM} xbanner $(DESTDIR)$(BINDIR)/xbanner
-+ ${BSD_INSTALL_PROGRAM} xb_check $(DESTDIR)$(BINDIR)/xb_check
-+ ${BSD_INSTALL_PROGRAM} random_effect $(DESTDIR)$(BINDIR)/random_effect
-
- strip: exe
- strip xbanner freetemp xb_check random_effect