On Oct 9, 2013, at 06:37, [email protected] wrote:

> Revision: 112008
>          https://trac.macports.org/changeset/112008
> Author:   [email protected]
> Date:     2013-10-09 04:37:14 -0700 (Wed, 09 Oct 2013)
> Log Message:
> -----------
> Corrects a reinplace that is only pertinent for the +viewer variant
> 
> Modified Paths:
> --------------
>    trunk/dports/gis/sfcgal/Portfile
> 
> Property Changed:
> ----------------
>    trunk/dports/gis/sfcgal/Portfile
> 
> Modified: trunk/dports/gis/sfcgal/Portfile
> ===================================================================
> --- trunk/dports/gis/sfcgal/Portfile  2013-10-09 11:34:08 UTC (rev 112007)
> +++ trunk/dports/gis/sfcgal/Portfile  2013-10-09 11:37:14 UTC (rev 112008)
> @@ -1,5 +1,5 @@
> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; 
> c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> -# $Id: Portfile 111992 2013-10-08 19:34:50Z [email protected] $
> +# $Id$
> 
> PortSystem          1.0
> PortGroup           cmake   1.0
> @@ -53,8 +53,10 @@
> }
> 
> post-configure {
> -    reinplace -E "s|(.*)|\\1 -F /opt/local/Library/Frameworks -lQtCore 
> -lQtOpenGL -lQtGui|" \
> -        ${worksrcpath}/viewer/CMakeFiles/viewer-SFCGAL.dir/link.txt
> +    if {[variant_isset viewer]} {
> +        reinplace -E "s|(.*)|\\1 -F /opt/local/Library/Frameworks -lQtCore 
> -lQtOpenGL -lQtGui|" \
> +            ${worksrcpath}/viewer/CMakeFiles/viewer-SFCGAL.dir/link.txt
> +    }

Doesn't this need to say ${frameworks_dir} instead of 
/opt/local/Library/Frameworks?



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

Reply via email to