[82632] trunk/dports/python/py-pyxmpp/Portfile

dports at macports.org dports at macports.org
Tue Aug 16 22:10:52 PDT 2011


Revision: 82632
          http://trac.macports.org/changeset/82632
Author:   dports at macports.org
Date:     2011-08-16 22:10:50 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
py-pyxmpp: do not add lib dependencies to stub, only to subports

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

Modified: trunk/dports/python/py-pyxmpp/Portfile
===================================================================
--- trunk/dports/python/py-pyxmpp/Portfile	2011-08-17 04:54:04 UTC (rev 82631)
+++ trunk/dports/python/py-pyxmpp/Portfile	2011-08-17 05:10:50 UTC (rev 82632)
@@ -1,3 +1,4 @@
+# -*- 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$
 
 PortSystem         1.0
@@ -26,9 +27,11 @@
                    sha1 4cfb72b1c7c834926981303b42243218016ff762 \
                    rmd160 e94194d8dcf0d2e78e30de5cc92b3315c8a1ce92
 
-depends_lib-append port:py${python.version}-libxml2 \
-                   port:py${python.version}-dnspython \
-                   port:py${python.version}-m2crypto
+if {$name != $subport} {
+    depends_lib-append port:py${python.version}-libxml2 \
+                       port:py${python.version}-dnspython \
+                       port:py${python.version}-m2crypto
+}
 
 livecheck.type     regex
 livecheck.url      ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/11073369/attachment.html>


More information about the macports-changes mailing list