[Bug 196054] audio/py-pyaudio: Links with portaudio instead of portaudio2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 18 20:50:08 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196054

--- Comment #7 from Jan Beich <jbeich at vfemail.net> ---
Comment on attachment 150732
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150732
patch to py-pyaudio

>-LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio2
>+BUILD_DEPENDS=	${LOCALBASE}/include/portaudio2/portaudio.h:${PORTSDIR}/audio/portaudio2

portaudio2 is linked directly, not via dlopen. RUN_DEPENDS is still required to
not break runtime for package users.
And there's a generic way to depend on package that fits on 80col terminal.

  BUILD_DEPENDS=  portaudio2>0:${PORTSDIR}/audio/portaudio2
  RUN_DEPENDS=    portaudio2>0:${PORTSDIR}/audio/portaudio2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list