[82658] trunk/dports/math/pspp-devel/Portfile

snc at macports.org snc at macports.org
Wed Aug 17 10:20:18 PDT 2011


Revision: 82658
          http://trac.macports.org/changeset/82658
Author:   snc at macports.org
Date:     2011-08-17 10:20:18 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
pspp-devel: fix patch phase for -gui

Modified Paths:
--------------
    trunk/dports/math/pspp-devel/Portfile

Modified: trunk/dports/math/pspp-devel/Portfile
===================================================================
--- trunk/dports/math/pspp-devel/Portfile	2011-08-17 17:19:26 UTC (rev 82657)
+++ trunk/dports/math/pspp-devel/Portfile	2011-08-17 17:20:18 UTC (rev 82658)
@@ -46,7 +46,9 @@
 }
 
 patch {
-    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/psppire
+    if {[variant_isset gui]} {
+        reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/psppire
+    }
 }
 
 #configure.optflags  -O0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110817/7907227d/attachment.html>


More information about the macports-changes mailing list