[94000] trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Wed Jun 6 11:15:40 PDT 2012
Revision: 94000
https://trac.macports.org/changeset/94000
Author: ryandesign at macports.org
Date: 2012-06-06 11:15:40 -0700 (Wed, 06 Jun 2012)
Log Message:
-----------
perl5-1.0.tcl: when finding Makefiles to reinplace in, make sure we find only files, not directories (#34778)
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl 2012-06-06 18:05:05 UTC (rev 93999)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl 2012-06-06 18:15:40 UTC (rev 94000)
@@ -148,8 +148,8 @@
# CCFLAGS can be passed in to "configure" but it's not necessarilary inherited
# LDFLAGS can't be passed in (or if it can, it's not easy to figure out how)
post-configure {
- system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
- system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
+ system "find ${worksrcpath} -name Makefile -type f | xargs /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
+ system "find ${worksrcpath} -name Makefile -type f | xargs /usr/bin/sed -i \"\" '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120606/db2fd396/attachment.html>
More information about the macports-changes
mailing list