pkg-fallout - virtual_oss FreeBSD 11.2 and 12.0-p3
Hans Petter Selasky
hps at selasky.org
Sat Mar 30 11:18:18 UTC 2019
Hi,
virtual_oss needs some new bluetooth definitions to build.
Else bluetooth support can be switched off.
How can I test for this in the Makefile?
I tried something like this, but it doesn't work:
--HPS
Index: Makefile
===================================================================
--- Makefile (revision 497246)
+++ Makefile (working copy)
@@ -17,8 +17,14 @@
USES= tar:bzip2 uidfix
OPTIONS_DEFINE= BLUETOOTH DEBUG EQUALIZER
-OPTIONS_DEFAULT=BLUETOOTH EQUALIZER
+OPTIONS_DEFAULT=EQUALIZER
+SINK_PROFILE!=${GREP} sdp_audio_sink_profile /usr/include/sdp.h
+
+.if ${SINK_PROFILE} != ""
+OPTIONS_DEFAULT+= BLUETOOTH
+.endif
+
.if exists(/usr/lib/libcuse.so)
MAKE_ARGS= HAVE_CUSE="YES"
.else
More information about the freebsd-ports
mailing list