summaryrefslogtreecommitdiff
path: root/x11/xtermset/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xtermset/patches/patch-aa')
-rw-r--r--x11/xtermset/patches/patch-aa50
1 files changed, 30 insertions, 20 deletions
diff --git a/x11/xtermset/patches/patch-aa b/x11/xtermset/patches/patch-aa
index 9685e4c1b98..410ca215177 100644
--- a/x11/xtermset/patches/patch-aa
+++ b/x11/xtermset/patches/patch-aa
@@ -1,22 +1,32 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/01/02 13:04:46 hubertf Exp $
-
---- Makefile.orig Fri Jan 1 20:57:16 1999
-+++ Makefile Sat Jan 2 13:36:26 1999
-@@ -1,10 +1,10 @@
- CC=gcc
- CFLAGS=-O2 -Wall
- INSTALL=/usr/bin/install -c
--PREFIX=/usr/local
-+#PREFIX=/usr/local
+--- Makefile.orig Thu Jan 14 00:02:56 1999
++++ Makefile Sat Aug 21 05:50:20 1999
+@@ -1,7 +1,7 @@
+ CC = gcc
+-CFLAGS = -O2 -Wall
++CFLAGS+= -O2 -Wall
+ OBJS = xtermset.o
+-PREFIX = /usr/local
++#PREFIX = /usr/local
- all: xtermset.o
-- ${CC} -o xtermset $<
-+ ${CC} -o xtermset ${.ALLSRC}
+ DOCSRC = ctlseqs.ms
+ DOCOUT = ctlseqs.ps
+@@ -9,15 +9,12 @@
- clean:
- rm -f *.o xtermset core *~
-@@ -13,4 +13,3 @@
- ${INSTALL} -m 0755 xtermset ${PREFIX}/bin
- strip ${PREFIX}/bin/xtermset
- ${INSTALL} -m 0644 xtermset.1 ${PREFIX}/man/man1
-- gzip ${PREFIX}/man/man1/xtermset.1
+ all: xtermset
+
+-xtermset: $(OBJS)
+- $(CC) $(OBJS) -o xtermset
+-
+-$(OBJS): %.o: %.c
+- $(CC) -c $(CFLAGS) $<
++xtermset:
++ $(CC) xtermset.c -o xtermset
+
+ install: xtermset
+- install -m 0755 -s xtermset $(PREFIX)/bin
+- install -m 0644 xtermset.1.gz $(PREFIX)/man/man1
++ ${BSD_INSTALL_PROGRAM} xtermset $(PREFIX)/bin
++ ${BSD_INSTALL_MAN} xtermset.1 $(PREFIX)/man/man1
+
+ doc: $(DOCSRC)
+ groff -mandoc -ms -T$(DOCFMT) $(DOCSRC) > $(DOCOUT)