summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/sp/Makefile4
-rw-r--r--textproc/sp/distinfo2
-rw-r--r--textproc/sp/files/patch-ab27
3 files changed, 13 insertions, 20 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
index dc12ff22ce84..3f029bd7efc6 100644
--- a/textproc/sp/Makefile
+++ b/textproc/sp/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-DISTNAME= sp-1.3
+DISTNAME= sp-1.3.4
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
@@ -21,7 +21,7 @@ post-patch:
post-install:
$(MKDIR) $(PREFIX)/include/sp
$(MKDIR) $(PREFIX)/share/doc/sp
- $(RM) $(WRKSRC)/include/*.orig
+ $(RM) -f $(WRKSRC)/include/*.orig
for file in $(WRKSRC)/include/*;do $(INSTALL_DATA) $$file $(PREFIX)/include/sp;done
for file in $(WRKSRC)/doc/*;do $(INSTALL_DATA) $$file $(PREFIX)/share/doc/sp;done
diff --git a/textproc/sp/distinfo b/textproc/sp/distinfo
index 4677b178ca8b..7adc3144b78f 100644
--- a/textproc/sp/distinfo
+++ b/textproc/sp/distinfo
@@ -1 +1 @@
-MD5 (sp-1.3.tar.gz) = 011bff022a23b2d23b797571fef827cf
+MD5 (sp-1.3.4.tar.gz) = 61dcb5614a61bf123e1345e869eb99d4
diff --git a/textproc/sp/files/patch-ab b/textproc/sp/files/patch-ab
index 557ad87a4c7f..560d345373ae 100644
--- a/textproc/sp/files/patch-ab
+++ b/textproc/sp/files/patch-ab
@@ -1,6 +1,6 @@
---- Makefile.orig Sun Dec 28 06:24:20 1997
-+++ Makefile Wed Jun 2 15:44:11 1999
-@@ -1,13 +1,14 @@
+--- Makefile.orig Sat Oct 10 00:15:02 1998
++++ Makefile Sat Jan 15 00:13:40 2000
+@@ -1,11 +1,12 @@
# Copyright (c) 1994, 1995 James Clark
# See the file COPYING for copying permission.
@@ -10,32 +10,25 @@
# Where to install the binaries
bindir=$(exec_prefix)/bin
-INSTALL=cp
-+libdir=$(exec_prefix)/lib
-+#INSTALL=cp
- # You might want to change this to uncomment this on BSD systems
--#INSTALL=install
+INSTALL=install -c
++libdir=$(exec_prefix)/lib
+ # You might want to uncomment this on BSD systems
+ #INSTALL=install
- # If you use gcc, then you must have at least version 2.6.1 and
- # you must use -fno-implicit-templates
-@@ -46,17 +47,17 @@
+@@ -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=$(XLIBS)
+ 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=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
+ #RANLIB=ranlib