aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sp
diff options
context:
space:
mode:
authorjfieber <jfieber@FreeBSD.org>1997-06-23 01:41:04 +0800
committerjfieber <jfieber@FreeBSD.org>1997-06-23 01:41:04 +0800
commita85f1f99a566887b35094db6599b5ca825394aa9 (patch)
tree971d28f9cc4cb2c61763e7acd5944045541c5719 /textproc/sp
parentc37dfd8f5753bc1b3f1c29c0b4a3dabc1045562b (diff)
downloadfreebsd-ports-gnome-a85f1f99a566887b35094db6599b5ca825394aa9.tar.gz
freebsd-ports-gnome-a85f1f99a566887b35094db6599b5ca825394aa9.tar.zst
freebsd-ports-gnome-a85f1f99a566887b35094db6599b5ca825394aa9.zip
This port now works on FreeBSD 2.1.x.
Diffstat (limited to 'textproc/sp')
-rw-r--r--textproc/sp/Makefile6
-rw-r--r--textproc/sp/pkg-plist4
2 files changed, 7 insertions, 3 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
index dccc66f96f53..4d9e5948f852 100644
--- a/textproc/sp/Makefile
+++ b/textproc/sp/Makefile
@@ -3,7 +3,7 @@
# Date created: April 26, 1997
# Whom: jfieber
#
-# $Id: Makefile,v 1.1.1.1 1997/04/26 20:01:59 jfieber Exp $
+# $Id: Makefile,v 1.2 1997/04/27 01:06:45 asami Exp $
#
DISTNAME= sp-1.1.1
@@ -12,7 +12,11 @@ MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
MAINTAINER= jfieber@FreeBSD.ORG
+# The shared libsp only works on post 2.1.x systems.
+.if exists(/usr/lib/libstdc++.a)
+PLIST= ${PKGDIR}/PLIST-shared
post-install:
${LDCONFIG} -m ${PREFIX}/lib
+.endif
.include <bsd.port.mk>
diff --git a/textproc/sp/pkg-plist b/textproc/sp/pkg-plist
index 0ef632009115..9f2d7e42f573 100644
--- a/textproc/sp/pkg-plist
+++ b/textproc/sp/pkg-plist
@@ -3,7 +3,6 @@ bin/spam
bin/sgmlnorm
bin/spent
lib/libsp.a
-lib/libsp.so.1.1
include/sp/EventGenerator.h
include/sp/ParserEventGeneratorKit.h
include/sp/SGMLApplication.h
@@ -151,4 +150,5 @@ share/doc/sp/spent.htm
share/doc/sp/sysdecl.htm
share/doc/sp/sysid.htm
share/doc/sp/winntu.htm
-@exec /sbin/ldconfig -m %D/lib
+@dirrm share/doc/sp
+@dirrm include/sp