Your MacPorts ports need some love: the "cd" command is going away

Ryan Schmidt ryandesign at macports.org
Mon Nov 12 02:17:46 PST 2007


On Nov 12, 2007, at 04:13, Anders F Björklund wrote:

> Ryan Schmidt wrote:
>
>>> Or maybe I missed one, in that case I'm thankful for an email or  
>>> bug report...
>>
>> Anders, i386-mingw32-libunicows still uses "cd" in its post-destroot.
>
> Not anymore it doesn't :-)
> http://trac.macports.org/projects/macports/changeset/30954

Super! :)

> -	cd ${workpath}/libunicows-${version}/docs
>  	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
> -	xinstall -m 644 license.txt readme.txt \
> +	xinstall -m 644 ${workpath}/libunicows-${version}/docs/license.txt \
> +	                ${workpath}/libunicows-${version}/docs/readme.txt \
>  		${destroot}${prefix}/share/doc/${name}

Don't forget about the -W option to xinstall which can be used this way:

	xinstall -m 644 -W ${workpath}/libunicows-${version}/docs \
		license.txt \
		readme.txt \
		${destroot}${prefix}/share/doc/${name}




More information about the macports-dev mailing list