ports/76573: [PATCH] remove trailing CONTROL-M's from installed file
Dan Langille
dan at langille.org
Sat Jan 22 15:30:26 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list