pkgsrc/textproc/makeztxt/patches/patch-aa
wiz 526bca7599 Update to 1.40b: Support for on-demand decompression.
Update provided by Dieter Baron in private mail.
2001-02-19 15:14:58 +00:00

30 lines
675 B
Text

$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