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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to