[32791] trunk/dports/x11/tightvnc/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 13 04:38:01 PST 2008
Revision: 32791
http://trac.macosforge.org/projects/macports/changeset/32791
Author: ryandesign at macports.org
Date: 2008-01-13 04:37:59 -0800 (Sun, 13 Jan 2008)
Log Message:
-----------
tightvnc: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/x11/tightvnc/Portfile
Modified: trunk/dports/x11/tightvnc/Portfile
===================================================================
--- trunk/dports/x11/tightvnc/Portfile 2008-01-13 12:36:14 UTC (rev 32790)
+++ trunk/dports/x11/tightvnc/Portfile 2008-01-13 12:37:59 UTC (rev 32791)
@@ -33,13 +33,12 @@
patch-vncconnect__vncconnect.c \
patch-include__vncauth.h
post-patch {
- cd ${worksrcpath}
reinplace "s|@PREFIX@|${prefix}|g" \
- Xvnc/config/cf/vnclibs.def \
- vncserver \
- vncviewer/Imakefile
+ ${worksrcpath}/Xvnc/config/cf/vnclibs.def \
+ ${worksrcpath}/vncserver \
+ ${worksrcpath}/vncviewer/Imakefile
if {[catch {set perl [binaryInPath "perl"]}] == 0} {
- reinplace "s|@PERL@|${perl}|g" vncserver
+ reinplace "s|@PERL@|${perl}|g" ${worksrcpath}/vncserver
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/bec47833/attachment.html
More information about the macports-changes
mailing list