[99858] trunk/dports/python/py-wxpython30/Portfile

jwa at macports.org jwa at macports.org
Mon Nov 19 07:15:00 PST 2012


Revision: 99858
          https://trac.macports.org/changeset/99858
Author:   jwa at macports.org
Date:     2012-11-19 07:15:00 -0800 (Mon, 19 Nov 2012)
Log Message:
-----------
py-wxpython30: move dependency in subport def, where it belongs, and make it depend instead of set

Modified Paths:
--------------
    trunk/dports/python/py-wxpython30/Portfile

Modified: trunk/dports/python/py-wxpython30/Portfile
===================================================================
--- trunk/dports/python/py-wxpython30/Portfile	2012-11-19 14:04:32 UTC (rev 99857)
+++ trunk/dports/python/py-wxpython30/Portfile	2012-11-19 15:15:00 UTC (rev 99858)
@@ -30,8 +30,6 @@
 checksums           rmd160  35e823d9161dc99083f3025383567000680e012f \
                     sha256  78c35c19e85a17cb9c730b86b49d6a479198d76d19e0b13e86db0b55707004be
 
-depends_lib	port:wxWidgets30
-
 worksrcdir	${distname}/wxPython
 
 extract.post_args	"| tar -xf - ${worksrcdir} ${distname}/docs"
@@ -43,6 +41,8 @@
 destroot.env	UNICODE="1" WXPORT="osx_cocoa" PATH="${prefix}/lib/wx/config:$env(PATH)"
 
 if {$subport != $name} {
+    depends_lib-append  port:wxWidgets30
+
     if {${os.platform} == "darwin" && ${os.major} >= 10} {
         patchfiles    patch-config.py.diff
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121119/5c366501/attachment.html>


More information about the macports-changes mailing list