Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2002 09:26:48 +0200 (CEST)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40065: textproc/pdftohtml use REINPLACE 
Message-ID:  <200207010726.g617QmqU013986@vale.pil.dk>

next in thread | raw e-mail | index | archive | help

>Number:         40065
>Category:       ports
>Synopsis:       textproc/pdftohtml use REINPLACE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 00:30:09 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD vale.pil.dk 4.6-STABLE FreeBSD 4.6-STABLE #3: Thu Jun 27 09:45:31 CEST 2002 root@vale.pil.dk:/usr/obj/usr/src/sys/VALE i386


	
>Description:
use REINPLACE instead of SED

>How-To-Repeat:
	
>Fix:

	

--- pdftohtml.diff begins here ---
diff -ruN pdftohtml.orig/Makefile pdftohtml/Makefile
--- pdftohtml.orig/Makefile	Thu Jun 27 17:58:38 2002
+++ pdftohtml/Makefile	Thu Jun 27 18:00:18 2002
@@ -19,12 +19,11 @@
 RUN_DEPENDS=	${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
+USE_REINPLACE=	yes
 
 pre-patch:
 .for file in goo/Makefile xpdf/Makefile
-	@${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.orig
-	@${SED} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}.orig \
-		> ${WRKSRC}/${file}
+	${REINPLACE_CMD} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}
 .endfor
 
 do-install:
--- pdftohtml.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207010726.g617QmqU013986>