[32008] trunk/dports/graphics/dcraw/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 13 05:20:28 PST 2007


Revision: 32008
          http://trac.macosforge.org/projects/macports/changeset/32008
Author:   ryandesign at macports.org
Date:     2007-12-13 05:19:15 -0800 (Thu, 13 Dec 2007)

Log Message:
-----------
dcraw: don't use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/graphics/dcraw/Portfile

Modified: trunk/dports/graphics/dcraw/Portfile
===================================================================
--- trunk/dports/graphics/dcraw/Portfile	2007-12-13 13:09:10 UTC (rev 32007)
+++ trunk/dports/graphics/dcraw/Portfile	2007-12-13 13:19:15 UTC (rev 32008)
@@ -24,11 +24,10 @@
 use_configure   no
 
 build {
-    cd ${worksrcpath}
     if {[variant_isset universal]} {
-        system "cc -o dcraw ${configure.cflags} ${configure.universal_cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
+        system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} ${configure.universal_cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
     } else {
-        system "cc -o dcraw ${configure.cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
+        system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
     }
 }
 

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


More information about the macports-changes mailing list