summaryrefslogtreecommitdiff
path: root/textproc/makeztxt/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/makeztxt/patches/patch-aa')
-rw-r--r--textproc/makeztxt/patches/patch-aa30
1 files changed, 30 insertions, 0 deletions
diff --git a/textproc/makeztxt/patches/patch-aa b/textproc/makeztxt/patches/patch-aa
new file mode 100644
index 00000000000..3bf15965598
--- /dev/null
+++ b/textproc/makeztxt/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1 2001/02/19 15:14:59 wiz Exp $
+
+--- Makefile.orig Fri Feb 16 20:23:19 2001
++++ Makefile Fri Feb 16 20:23:21 2001
+@@ -7,8 +7,9 @@
+ LIBS = -lz -lztxt
+ INCLUDE = -I../common -I.
+
+-CC = gcc
+-CFLAGS = -Wall -O2 -pipe $(INCLUDE)
++#CC = gcc
++#CFLAGS = -Wall -O2 -pipe $(INCLUDE)
++CFLAGS += $(INCLUDE)
+
+ # If you're compiling on a Sun (with gcc), you'll need this
+ #CFLAGS += -fpack-struct
+@@ -32,11 +33,11 @@
+ $(CC) -Llibztxt -o makeztxt $(OBJS) $(LIBS)
+
+ libztxt::
+- +make -C libztxt all
++ cd libztxt && ${MAKE} all
+
+ # Cleaning and Makefile maintainence
+ clean:
+- make -C libztxt clean
++ cd libztxt && ${MAKE} clean
+ -rm -f *.o *~
+
+ distclean: clean