aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sp/files/patch-ab
blob: 4f95c410d8c9625fab263c5146a1ccff6e7f3557 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- Makefile.orig	Sat Oct 10 00:15:02 1998
+++ Makefile	Mon Jan 31 14:38:24 2000
@@ -1,11 +1,12 @@
 # Copyright (c) 1994, 1995 James Clark
 # See the file COPYING for copying permission.
 
-prefix=/opt/local
+prefix=/usr/local
 exec_prefix=$(prefix)
 # Where to install the binaries
 bindir=$(exec_prefix)/bin
-INSTALL=cp
+INSTALL=install -c
+libdir=$(exec_prefix)/lib
 # You might want to uncomment this on BSD systems
 #INSTALL=install
 
@@ -33,7 +34,7 @@
 # Add -Dsig_atomic_t=int on SunOS 4.1.x with g++ (or any other platform
 #  which doesn't appropriately define sig_atomic_t).
 # Add -DJADE_MIF to include the Jade MIF backend
-XDEFINES=
+XDEFINES=-DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\"
 DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
 CXXFLAGS=-ansi $(DEBUG) $(WARN)
 # Flag to pass to CXX to make it output list of dependencies as a Makefile.
@@ -48,14 +49,14 @@
 # If you defined SP_HAVE_SOCKET, add any libraries that are needed for sockets
 # -lsocket -lnsl needed on Solaris 2.x
 # -lnsl on SunOS 4.1.3
-XLIBS=#-lsocket -lnsl
+XLIBS=-lgcc
 # -L/usr/local/lib may be needed on the RS/6000
 LIBS=-lm $(XLIBS)
 # If you're building in another directory, copy or link this Makefile
 # to the build directory, and set srcdir to point to the source directory.
 srcdir=.
 AR=ar
-RANLIB=:
+RANLIB=ranlib
 # Uncomment this for SunOS 4.1.3 or FreeBSD
 # (and probably other BSD flavor systems as well)
 #RANLIB=ranlib