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

vince at macports.org vince at macports.org
Wed Oct 9 04:37:15 PDT 2013


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
+    }
 }
 
 use_parallel_build          yes


Property changes on: trunk/dports/gis/sfcgal/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131009/a066ffcb/attachment.html>


More information about the macports-changes mailing list