[40637] trunk/dports/x11/windowmaker/Portfile
jmr at macports.org
jmr at macports.org
Wed Oct 8 23:35:04 PDT 2008
Revision: 40637
http://trac.macports.org/changeset/40637
Author: jmr at macports.org
Date: 2008-10-08 23:35:03 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
windowmaker: remove use of cd
Modified Paths:
--------------
trunk/dports/x11/windowmaker/Portfile
Modified: trunk/dports/x11/windowmaker/Portfile
===================================================================
--- trunk/dports/x11/windowmaker/Portfile 2008-10-09 06:31:55 UTC (rev 40636)
+++ trunk/dports/x11/windowmaker/Portfile 2008-10-09 06:35:03 UTC (rev 40637)
@@ -36,10 +36,9 @@
port:libpng port:libungif port:tiff
post-patch {
- cd ${worksrcpath}
- set fl [glob WindowMaker/*menu*]
- lappend fl WindowMaker/Defaults/WindowMaker.in \
- WPrefs.app/Menu.c WPrefs.app/Paths.c
+ set fl [glob -directory ${worksrcpath} WindowMaker/*menu*]
+ lappend fl ${worksrcpath}/WindowMaker/Defaults/WindowMaker.in \
+ ${worksrcpath}/WPrefs.app/Menu.c ${worksrcpath}/WPrefs.app/Paths.c
foreach i $fl {
reinplace "s|/usr/X11R6/share|${prefix}/share|g" $i
reinplace "s|/usr/share|${prefix}/share|g" $i
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/d8995888/attachment.html
More information about the macports-changes
mailing list