edefd85474
provided by Martin Laubach (with a few modifications to work under NetBSD-1.3.3 as well as -current) -- thanks!
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
|
|
|
|
--- Makefile.orig Sun Dec 28 12:24:20 1997
|
|
+++ Makefile Sat Mar 13 08:22:53 1999
|
|
@@ -1,11 +1,10 @@
|
|
# 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
|
|
# You might want to change this to uncomment this on BSD systems
|
|
#INSTALL=install
|
|
|
|
@@ -32,7 +31,8 @@
|
|
# Add -Dsig_atomic_t=int on SunOS 4.1.x with g++ (or any other platform
|
|
# which doesn't appropriately define sig_atomic_t).
|
|
XDEFINES=
|
|
-DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
|
|
+DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE \
|
|
+ -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sp/catalog\" $(XDEFINES)
|
|
CXXFLAGS=-ansi $(DEBUG) $(WARN)
|
|
# Flag to pass to CXX to make it output list of dependencies as a Makefile.
|
|
CXXDEPGENFLAGS=-MM
|
|
@@ -53,10 +53,9 @@
|
|
# to the build directory, and set srcdir to point to the source directory.
|
|
srcdir=.
|
|
AR=ar
|
|
-RANLIB=:
|
|
# Uncomment this for SunOS 4.1.3 or FreeBSD
|
|
# (and probably other BSD flavor systems as well)
|
|
-#RANLIB=ranlib
|
|
+RANLIB=ranlib
|
|
M4=m4
|
|
# perl is needed if you change or add messages
|
|
PERL=perl
|