From c4784dc0e218ee26793cbd0e1105510b7e094a90 Mon Sep 17 00:00:00 2001 From: mva Date: Sun, 24 Nov 2013 09:25:54 +0000 Subject: - Fix usage of 'python' to get rid of the implicit lang/python dependency - Fix OPTIONS --- audio/ecasound/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'audio/ecasound') diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile index 101b51ca7b37..4cf4c71416d9 100644 --- a/audio/ecasound/Makefile +++ b/audio/ecasound/Makefile @@ -3,6 +3,7 @@ PORTNAME= ecasound PORTVERSION= 2.9.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ \ http://nosignal.fi/download/ \ @@ -37,10 +38,10 @@ AUDIOFILE_CONFIGURE_ENABLE= audiofile AUDIOFILE_LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack -LO_CONFIGURE_ENABLE= liblo -LO_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo -OIL_CONFIGURE_ENABLE= liboil -OIL_LIB_DEPENDS= liboil-0.3.so:${PORTSDIR}/devel/liboil +LIBLO_CONFIGURE_ENABLE= liblo +LIBLO_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo +LIBOIL_CONFIGURE_ENABLE=liboil +LIBOIL_LIB_DEPENDS= liboil-0.3.so:${PORTSDIR}/devel/liboil PYTHON_CONFIGURE_ENABLE=pyecasound SAMPLERATE_CONFIGURE_ENABLE= libsamplerate SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate @@ -50,6 +51,7 @@ SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile .include .if ${PORT_OPTIONS:MPYTHON} +CONFIGURE_ENV+= PYTHONPATH="${PYTHON_CMD}" USE_PYTHON= yes .endif @@ -58,5 +60,9 @@ post-patch: s| $$EXTRAGCCFLAGS||g ; \ s| $$EXTRACPPFLAGS||g ; \ s| -D_P1003_1B_VISIBLE||' ${WRKSRC}/configure +.if ${PORT_OPTIONS:MPYTHON} + @${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \ + ${WRKSRC}/configure +.endif .include -- cgit