[130112] trunk/dports/devel/omniORB/Portfile

larryv at macports.org larryv at macports.org
Fri Dec 26 21:51:32 PST 2014


Revision: 130112
          https://trac.macports.org/changeset/130112
Author:   larryv at macports.org
Date:     2014-12-26 21:51:32 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
omniORB: Use Python 2.7 always

Modified Paths:
--------------
    trunk/dports/devel/omniORB/Portfile

Modified: trunk/dports/devel/omniORB/Portfile
===================================================================
--- trunk/dports/devel/omniORB/Portfile	2014-12-27 05:51:30 UTC (rev 130111)
+++ trunk/dports/devel/omniORB/Portfile	2014-12-27 05:51:32 UTC (rev 130112)
@@ -6,6 +6,7 @@
 
 name                omniORB
 version             4.2.0
+revision            1
 categories          devel
 platforms           darwin
 universal_variant   no
@@ -19,6 +20,7 @@
 homepage            http://omniorb.sourceforge.net/
 
 conflicts_build     ${name}
+depends_lib         port:python27
 
 master_sites        sourceforge:project/omniorb/omniORB/omniORB-${version}/
 use_bzip2           yes
@@ -33,11 +35,7 @@
         ${worksrcpath}/mk/beforeauto.mk.in
 }
 
-notes "
-To install omniORBpy use the port pyXX_omniORBpy\
-corresponding to the matching python variant selected here.
-"
-
+configure.python    ${prefix}/bin/python2.7
 configure.args      CC="${configure.cc}" \
                     CXX="${configure.cxx}" \
                     CCFLAGS="[get_canonical_archflags cc]" \
@@ -54,34 +52,10 @@
     depends_lib-append      port:openssl
 }
 
-if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
-    default_variants        +python27
-}
+notes "
+Install py27-omniORBpy for omniORBpy.
+"
 
-variant python24 conflicts python25 python26 python27 description {Enable python support with python 2.4} {
-    notes-append "For this omniORB variant install py24-omniORBpy"
-    depends_lib-append      port:python24
-    configure.python        ${prefix}/bin/python2.4
-}
-
-variant python25 conflicts python24 python26 python27 description {Enable python support with python 2.5} {
-    notes-append "For this omniORB variant install py25-omniORBpy"
-    depends_lib-append      port:python25
-    configure.python        ${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python24 python25 python27 description {Enable python support with python 2.6} {
-    notes-append "For this omniORB variant install py26-omniORBpy"
-    depends_lib-append      port:python26
-    configure.python        ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python24 python25 python26 description {Enable python support with python 2.7} {
-    notes-append "For this omniORB variant install py27-omniORBpy"
-    depends_lib-append      port:python27
-    configure.python        ${prefix}/bin/python2.7
-}
-
 livecheck.type      regex
 livecheck.url       http://omniorb.sourceforge.net/
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/6ce6efd3/attachment.html>


More information about the macports-changes mailing list