[47690] trunk/dports/www/edbrowse/Portfile

Bryan Blackburn blb at macports.org
Tue Mar 3 13:20:19 PST 2009


On Tue, Mar 03, 2009 at 12:09:32PM -0800, snc at macports.org said:
> Revision: 47690
>           http://trac.macports.org/changeset/47690
> Author:   snc at macports.org
> Date:     2009-03-03 12:09:31 -0800 (Tue, 03 Mar 2009)
> Log Message:
> -----------
> fixed worksrcpath/worksrcdir, removed default destroot.dir
> 
> Modified Paths:
> --------------
>     trunk/dports/www/edbrowse/Portfile
> 
> Modified: trunk/dports/www/edbrowse/Portfile
> ===================================================================
> --- trunk/dports/www/edbrowse/Portfile	2009-03-03 20:04:14 UTC (rev 47689)
> +++ trunk/dports/www/edbrowse/Portfile	2009-03-03 20:09:31 UTC (rev 47690)
> @@ -36,7 +36,7 @@
>                      sha1 fe9e27f9708731899803539f6e7272335faed791 \
>                      rmd160 01a0be54e33b17bc2a018cfac53c2037a39ab67f
>  
> -set worksrcpath     ${worksrcpath}/src
> +set worksrcdir      ${distname}/src

Note that you should never use set on Portfile keywords like worksrcdir, so
that should just be

worksrcdir  ${distname}/src

More happens when you use this than just set.  Using set for your own
newly-created variables is fine, however.

Bryan

[...]



More information about the macports-dev mailing list