From d2dec20c5c4afd69478394a458ddcb8f8f9af9d9 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 28 Oct 1999 14:29:20 +0000 Subject: Make this package compile on Solaris, by cleaning up the package Makefile sed(1) commands. --- textproc/t1lib/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'textproc/t1lib') diff --git a/textproc/t1lib/Makefile b/textproc/t1lib/Makefile index ef74d738ed8..b6f1bc8edd7 100644 --- a/textproc/t1lib/Makefile +++ b/textproc/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/09/24 01:00:03 fredb Exp $ +# $NetBSD: Makefile,v 1.4 1999/10/28 14:29:20 agc Exp $ # DISTNAME= t1lib-0.9.2 @@ -18,7 +18,7 @@ MESSAGE_FILE= ${WRKDIR}/MESSAGE ALL_TARGET= without_doc post-build: - ${SED} s^@@PREFIX@@^${PREFIX}^g < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE + ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE post-install: ${MKDIR} ${PREFIX}/share/t1lib @@ -29,8 +29,8 @@ post-install: cd ${WRKSRC}/examples; \ ${PAX} -r -w FontDataBase README.t1example1 t1example1.c t1lib.config \ ${PREFIX}/share/examples/t1lib - ${SED} -e s^@@X11BASE@@^${X11BASE}^g -e s^@@LOCALBASE@@^${LOCALBASE}^g \ - -e s^@@PREFIX@@^${PREFIX}^g < ${FILESDIR}/t1lib.config.netbsd \ + ${SED} -e 's|@@X11BASE@@|${X11BASE}|g' -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \ + -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/t1lib.config.netbsd \ > ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd if [ ! -f ${PREFIX}/share/t1lib/t1lib.config ]; then \ ${CP} ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd \ -- cgit v1.2.3