$NetBSD: patch-aa,v 1.3 1999/12/16 22:03:13 mjl Exp $

--- Makefile.orig	Sat Oct 10 06:15:02 1998
+++ Makefile	Thu Dec 16 22:42:56 1999
@@ -1,11 +1,11 @@
 # Copyright (c) 1994, 1995 James Clark
 # See the file COPYING for copying permission.
 
-prefix=/opt/local
+prefix=${PREFIX}
 exec_prefix=$(prefix)
 # Where to install the binaries
 bindir=$(exec_prefix)/bin
-INSTALL=cp
+#INSTALL=cp
 # You might want to uncomment this on BSD systems
 #INSTALL=install
 
@@ -34,7 +34,7 @@
 #  which doesn't appropriately define sig_atomic_t).
 # Add -DJADE_MIF to include the Jade MIF backend
 XDEFINES=
-DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
+DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES) -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sgml/catalog\" -DSP_HAVE_LOCALE
 CXXFLAGS=-ansi $(DEBUG) $(WARN)
 # Flag to pass to CXX to make it output list of dependencies as a Makefile.
 CXXDEPGENFLAGS=-MM
