diff options
author | mva <mva@FreeBSD.org> | 2013-11-24 17:25:54 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2013-11-24 17:25:54 +0800 |
commit | c4784dc0e218ee26793cbd0e1105510b7e094a90 (patch) | |
tree | a36a2d658e356376703b6b0f7c30911d92b72b5c /audio/ecasound | |
parent | 3cabb67147df491fbf653025e159ef005fc7d7dd (diff) | |
download | freebsd-ports-gnome-c4784dc0e218ee26793cbd0e1105510b7e094a90.tar.gz freebsd-ports-gnome-c4784dc0e218ee26793cbd0e1105510b7e094a90.tar.zst freebsd-ports-gnome-c4784dc0e218ee26793cbd0e1105510b7e094a90.zip |
- Fix usage of 'python' to get rid of the implicit lang/python
dependency
- Fix OPTIONS
Diffstat (limited to 'audio/ecasound')
-rw-r--r-- | audio/ecasound/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
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 <bsd.port.options.mk> .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 <bsd.port.mk> |