[65928] trunk/dports/audio/aubio/Portfile

jmr at macports.org jmr at macports.org
Fri Apr 2 21:21:16 PDT 2010


Revision: 65928
          http://trac.macports.org/changeset/65928
Author:   jmr at macports.org
Date:     2010-04-02 21:21:15 -0700 (Fri, 02 Apr 2010)
Log Message:
-----------
aubio: only use python and swig when the python variant is set (#22326)

Modified Paths:
--------------
    trunk/dports/audio/aubio/Portfile

Modified: trunk/dports/audio/aubio/Portfile
===================================================================
--- trunk/dports/audio/aubio/Portfile	2010-04-03 03:58:58 UTC (rev 65927)
+++ trunk/dports/audio/aubio/Portfile	2010-04-03 04:21:15 UTC (rev 65928)
@@ -22,17 +22,16 @@
 master_sites            ${homepage}pub/
 checksums               md5 ffc3e5e4880fec67064f043252263a44
 depends_lib             port:fftw-3 \
-                        port:libsamplerate \
-                        port:python25
+                        port:libsamplerate
 
 post-patch { reinplace "s| -Wno-long-double||g" ${worksrcpath}/configure }
 
 configure.args          --disable-alsa \
                         --disable-jack \
-                        --disable-lash
+                        --disable-lash \
+                        ac_cv_path_PYTHON=no \
+                        ac_cv_path_SWIG=no
 
-configure.python        ${prefix}/bin/python2.5
-
 post-build {
     # aubio's includedir is ${prefix}/include/aubio but aubio's file fft.h
     # includes fftw-3's fftw3.h but fftw3.h is in ${prefix}/include.
@@ -40,12 +39,14 @@
 }
 
 variant python description "Enable gnuplot and python interface" {
+    configure.python        ${prefix}/bin/python2.5
+    configure.args-delete    ac_cv_path_PYTHON=no \
+                             ac_cv_path_SWIG=no
     depends_lib-append      port:py25-numarray \
-                            port:swig
+                            port:swig-python
     depends_run-append      port:py25-gnuplot
 }
 
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100402/ba324ad9/attachment.html>


More information about the macports-changes mailing list