[112008] trunk/dports/gis/sfcgal/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Oct 9 11:13:23 PDT 2013


On Oct 9, 2013, at 06:37, vince at macports.org wrote:

> Revision: 112008
>          https://trac.macports.org/changeset/112008
> Author:   vince at macports.org
> 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 vince at macports.org $
> +# $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?





More information about the macports-dev mailing list