[25533] branches/dp2mp-move/base/Makefile.in

source_changes at macosforge.org source_changes at macosforge.org
Thu May 24 08:13:26 PDT 2007


Revision: 25533
          http://trac.macosforge.org/projects/macports/changeset/25533
Author:   jmpp at macports.org
Date:     2007-05-24 08:13:26 -0700 (Thu, 24 May 2007)

Log Message:
-----------

macports.conf(5) matches a regex for "ports.conf(5)", so if you run the install target once you get the expected replacement, but...
run it again and again and again and you'll end up with something like macmacmacmacmacmacmacmacmacmacports.conf(5). A leading whitespacee
in the pattern removes this iterative behavior from the reinplace.

Modified Paths:
--------------
    branches/dp2mp-move/base/Makefile.in

Modified: branches/dp2mp-move/base/Makefile.in
===================================================================
--- branches/dp2mp-move/base/Makefile.in	2007-05-24 07:51:21 UTC (rev 25532)
+++ branches/dp2mp-move/base/Makefile.in	2007-05-24 15:13:26 UTC (rev 25533)
@@ -80,7 +80,7 @@
 			mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
 		sed '/^rsync_options/s/"\(.*\)"/\1/' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
 			mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
-		sed 's/ports.conf(5)/macports.conf(5)/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
+		sed 's/ ports.conf(5)/ macports.conf(5)/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
 			mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
 		sed 's/[Dd]\(arwin\)\{0,1\}[Pp]\(orts\)\{0,1\}/MacPorts/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
 			mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070524/78a9ff4b/attachment.html


More information about the macports-changes mailing list