From da38f45ef394ca194a8f6a5fac5b95f2a5f95332 Mon Sep 17 00:00:00 2001 From: John Fieber Date: Sun, 22 Jun 1997 17:41:04 +0000 Subject: This port now works on FreeBSD 2.1.x. --- textproc/sp/Makefile | 6 +++++- textproc/sp/pkg-plist | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'textproc/sp') 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 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 -- cgit v1.2.3