Ignore:
Timestamp:
Oct 9, 2013, 11:37:14 AM (6 years ago)
Author:
vince@…
Message:

Corrects a reinplace that is only pertinent for the +viewer variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/sfcgal/Portfile

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id
    r112006 r112008  
    11# -*- 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
    2 # $Id: Portfile 111992 2013-10-08 19:34:50Z vince@macports.org $
     2# $Id$
    33
    44PortSystem          1.0
     
    5454
    5555post-configure {
    56     reinplace -E "s|(.*)|\\1 -F /opt/local/Library/Frameworks -lQtCore -lQtOpenGL -lQtGui|" \
    57         ${worksrcpath}/viewer/CMakeFiles/viewer-SFCGAL.dir/link.txt
     56    if {[variant_isset viewer]} {
     57        reinplace -E "s|(.*)|\\1 -F /opt/local/Library/Frameworks -lQtCore -lQtOpenGL -lQtGui|" \
     58            ${worksrcpath}/viewer/CMakeFiles/viewer-SFCGAL.dir/link.txt
     59    }
    5860}
    5961
Note: See TracChangeset for help on using the changeset viewer.