This port needs /usr/share/dict/words to run properly (it's an anagram finder)
but it currently looks for this file in /usr/local/lib.  Here's an updated 
version of patch-Makefile which fixes this. 

--- Makefile.orig       Sun Dec  9 21:21:01 2007
+++ Makefile    Tue Mar 17 17:02:29 1998
@@ -45,11 +45,11 @@
 #MANDIR=../../man
 MANDIR=/usr/local/man
 # Location of the word file
-WORDDIR=/usr/local/lib
+WORDDIR=/usr/share/dict
 # Name of the default wordfile
 WORDFILE=-DWORDFILE=\"$(WORDDIR)/words\"
 # C compiler
-CC=cc
+#CC=cc
 # Optimization or other flags for C compiler
 CCFLAGS=-O
 #CCFLAGS=-g
@@ -65,10 +65,10 @@
 doc: agm.ps
 
 agm: main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o 
progress.o
-       $(CC) $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o 
process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
+       $(CC) $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o 
process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
 
 .c.o:
-       $(CC) -c $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
+       $(CC) -c $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
 
 main.o: main.c agm.h
 

Reply via email to