Date: Sat, 22 Jan 2005 10:25:12 -0500 (EST) From: Dan Langille <dan@langille.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dan@langille.org Subject: ports/76573: [PATCH] remove trailing CONTROL-M's from installed file Message-ID: <20050122152512.1F7F33E64@xeon.unixathome.org> Resent-Message-ID: <200501221530.j0MFUQcA043729@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76573 >Category: ports >Synopsis: [PATCH] remove trailing CONTROL-M's from installed file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 22 15:30:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 4.9-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan@polo.example.org:/usr/obj/usr/src/sys/XEON i386 >Description: share/pear/HTML/Page2.php contains CONTROL M's. this makes it very difficult to read >How-To-Repeat: install the port, view the file >Fix: --- diff.patch begins here --- diff -ruN /usr/ports/devel/pear-HTML_Page2/Makefile pear-HTML_Page2/Makefile --- /usr/ports/devel/pear-HTML_Page2/Makefile Fri Jan 21 06:34:59 2005 +++ pear-HTML_Page2/Makefile Sat Jan 22 10:16:21 2005 @@ -20,6 +20,13 @@ FILES= Page2.php Page2/Doctypes.php Page2/Namespaces.php EXAMPLES= Page2_NoDoctype.php Page2_Simple.php Page2_Complex.php +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e "s# ##g" ${WRKSRC}/Page2.php + .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include <bsd.port.post.mk> + + --- diff.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050122152512.1F7F33E64>