pkgsrc-wip/cawf/patches/patch-aa
Jeremy C. Reed fcd75ed181 Cawf is a nroff-like text formatter. Cawf provides a usable subset
of raw nroff capabilities and the styles of the man, me(7), and
ms(7) macro sets.  New macro files can be added.  And it has some
rudimentary output device support via a device configuration file
(and new devices can be added).

I need help improving -man macro and making mandoc ...
2003-07-02 23:02:05 +00:00

25 lines
619 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/07/02 23:02:05 jeremy-c-reed Exp $
--- Makefile.orig Sat Feb 22 09:26:18 1997
+++ Makefile
@@ -14,7 +14,7 @@
#
# Redefine CAWFLIB by adding -DCAWFLIB=\"...\" to DEFS.
#
-#DEFS = -DUNIX -DUSG -DCAWFLIB=\"/usr/local/lib/cawf\"
+DEFS = -DUNIX -DUSG -DSTDLIB -DCAWFLIB=\"${CAWFLIB}\"
#
# Customize the install rule.
#
@@ -34,9 +34,9 @@
#
#DEFS = -DUNIX -DMALLOCH
-DEFS = -DUNIX -DSTDLIB -D_NEXT_SOURCE -ansi -pedantic
+#DEFS = -DUNIX -DSTDLIB -D_NEXT_SOURCE -ansi -pedantic
-CFLAGS = -O ${DEFS}
+CFLAGS += ${DEFS}
HDR = ansi.h cawf.h cawflib.h proto.h regexp.h regmagic.h