> On Oct 24, 2014, at 9:15 AM, [email protected] wrote:
> 
> Revision
> 127265
> Author
> [email protected]
> Date
> 2014-10-24 07:15:50 -0700 (Fri, 24 Oct 2014)
> Log Message
> 
> freecad: new port - maintainer - #44097

> Added: trunk/dports/cad/freecad/Portfile (0 => 127265)

> +post-patch {
> +    reinplace 
> "s|QLibraryInfo::location.*|QLatin1String\(\"${applications_dir}/Qt4/\"\);|" \
> +        ${worksrcpath}/src/Gui/Assistant.cpp

Here you've correctly used ${applications_dir}...

> +    reinplace "s|/Applications|/Applications/MacPorts|" \
> +        ${worksrcpath}/src/Mod/OpenSCAD/OpenSCADUtils.py

...but here you've hardcoded its value /Applications/MacPorts, which should be 
changed to ${applications_dir}.

> +}

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to