[67649] trunk/dports/gis/qgis/Portfile

vince at macports.org vince at macports.org
Sat May 15 05:41:26 PDT 2010


Revision: 67649
          http://trac.macports.org/changeset/67649
Author:   vince at macports.org
Date:     2010-05-15 05:41:24 -0700 (Sat, 15 May 2010)
Log Message:
-----------
Ticket #24455

Modified Paths:
--------------
    trunk/dports/gis/qgis/Portfile

Modified: trunk/dports/gis/qgis/Portfile
===================================================================
--- trunk/dports/gis/qgis/Portfile	2010-05-15 12:40:07 UTC (rev 67648)
+++ trunk/dports/gis/qgis/Portfile	2010-05-15 12:41:24 UTC (rev 67649)
@@ -50,10 +50,6 @@
 # Python related stuff
 # Checks if Python framework is not buggy
 set Python_FRM		"${frameworks_dir}/Python.framework"
-if {![file exists ${Python_FRM}]} {
-	ui_error		"Qgis requires python" 
-}
-
 set Pyver 			[exec python -V |& awk "{print \$2}"]
 
 # Eliminates minor (could also be done with strsed)
@@ -145,6 +141,11 @@
 # This is a fake but don't ask me why it is needed
 configure.args-append		"-DSVN_MARKER=/usr/bin/svnversion"
 
+pre-extract {
+	if {![file exists ${Python_FRM}]} {
+		ui_error		"Qgis requires python" 
+}
+
 # Patch for proper linking of our own Python framework
 post-configure {
 	reinplace -E "s|(g\\+\\+\[^ ]+)|\\1 -F${frameworks_dir}|" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100515/ee04667c/attachment.html>


More information about the macports-changes mailing list