Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 12:17:48 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        ports@FreeBSD.org
Subject:   pkg-fallout - virtual_oss FreeBSD 11.2 and 12.0-p3
Message-ID:  <63325b1e-ccc8-cde0-713c-4eaa8461018d@selasky.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63325b1e-ccc8-cde0-713c-4eaa8461018d>