summaryrefslogtreecommitdiff
path: root/textproc/antiword/files/patch-aa
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-09 09:16:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-09 09:16:09 +0000
commit3ff25b66665720f834fa200dd91dd94b7743c8dd (patch)
tree05dc45c93a8b61cf06010eaa21f4ece21c582d5e /textproc/antiword/files/patch-aa
parentUnbroke for RELENG_3. (diff)
Initial import of antiword - yet another utility to convert M$ Word files into
some more usefull format (text, ps). PR: 19126 Submitted by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
Notes
Notes: svn path=/head/; revision=29441
Diffstat (limited to 'textproc/antiword/files/patch-aa')
-rw-r--r--textproc/antiword/files/patch-aa36
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/antiword/files/patch-aa b/textproc/antiword/files/patch-aa
new file mode 100644
index 000000000000..5d47bd2ba061
--- /dev/null
+++ b/textproc/antiword/files/patch-aa
@@ -0,0 +1,36 @@
+--- Makefile.orig Mon Nov 1 21:21:36 1999
++++ Makefile Fri Jun 9 12:07:27 2000
+@@ -2,15 +2,15 @@
+ # Makefile for antiword (Linux version)
+ #
+
+-CC = gcc
+-LD = gcc
++CC ?= gcc
++LD = $(CC)
+
+ # must be equal to DEBUG or NDEBUG
+ DB = NDEBUG
+
+ LDLIBS =
+
+-CFLAGS = -Wall -pedantic -O2 -D$(DB)
++CFLAGS += -D$(DB)
+ LDFLAGS =
+
+ OBJS =\
+@@ -22,12 +22,12 @@
+ PROGS =\
+ antiword
+
+-INSTALL_DIR = $(HOME)/bin
++INSTALL_DIR = $(PREFIX)/bin
+
+ all: $(PROGS)
+
+ install: all
+- cp -pf $(PROGS) $(INSTALL_DIR)
++ $(BSD_INSTALL_PROGRAM) $(PROGS) $(INSTALL_DIR)
+
+ clean:
+ rm -f $(OBJS)