[84294] trunk/dports/audio/aubio
devans at macports.org
devans at macports.org
Wed Sep 21 19:00:53 PDT 2011
Revision: 84294
http://trac.macports.org/changeset/84294
Author: devans at macports.org
Date: 2011-09-21 19:00:49 -0700 (Wed, 21 Sep 2011)
Log Message:
-----------
aubio: make sure that python bindings link against configured Python version, see #31339.
Modified Paths:
--------------
trunk/dports/audio/aubio/Portfile
Added Paths:
-----------
trunk/dports/audio/aubio/files/
trunk/dports/audio/aubio/files/patch-python-aubio-Makefile.am.diff
Modified: trunk/dports/audio/aubio/Portfile
===================================================================
--- trunk/dports/audio/aubio/Portfile 2011-09-21 22:07:00 UTC (rev 84293)
+++ trunk/dports/audio/aubio/Portfile 2011-09-22 02:00:49 UTC (rev 84294)
@@ -5,7 +5,7 @@
name aubio
version 0.3.2
-revision 1
+revision 2
license GPL-2
categories audio
maintainers devans openmaintainer
@@ -26,8 +26,13 @@
depends_lib port:fftw-3 \
port:libsamplerate
-post-patch { reinplace "s| -Wno-long-double||g" ${worksrcpath}/configure }
+patchfiles patch-python-aubio-Makefile.am.diff
+post-patch { reinplace "s| -Wno-long-double||g" ${worksrcpath}/configure.ac }
+
+use_autoreconf yes
+autoreconf.args -vfi
+
configure.args --disable-alsa \
--disable-jack \
--disable-lash \
Added: trunk/dports/audio/aubio/files/patch-python-aubio-Makefile.am.diff
===================================================================
--- trunk/dports/audio/aubio/files/patch-python-aubio-Makefile.am.diff (rev 0)
+++ trunk/dports/audio/aubio/files/patch-python-aubio-Makefile.am.diff 2011-09-22 02:00:49 UTC (rev 84294)
@@ -0,0 +1,24 @@
+--- python/aubio/Makefile.am.orig 2011-09-21 16:50:47.000000000 -0700
++++ python/aubio/Makefile.am 2011-09-21 16:52:41.000000000 -0700
+@@ -46,7 +46,7 @@
+ SWLDFLAGS = -L${prefix}/bin -lpython${PYTHON_VERSION}
+ else
+ if DARWIN
+-SWLDFLAGS = -bundle -framework Python
++SWLDFLAGS = -bundle -lpython${PYTHON_VERSION}
+ else
+ SWLDFLAGS = -shared
+ endif
+@@ -59,10 +59,9 @@
+
+ AM_CFLAGS = @AUBIO_CFLAGS@ $(NOWARN_CFLAGS) $(SWCFLAGS) \
+ -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \
+- -I/usr/include/python${PYTHON_VERSION} \
+ -I${prefix}/include/python${PYTHON_VERSION} \
+- -I/usr/include \
+- -I${prefix}/include
++ -I${prefix}/include \
++ -I/usr/include
+
+ AUBIO_LDFLAGS = $(SWLDFLAGS) \
+ -L$(top_builddir)/ext -laubioext \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110921/638117d1/attachment.html>
More information about the macports-changes
mailing list