git: 1e385d0870c4 - main - emulators/bochs: Include CFLAGS directive needed for SB16 config flag

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 02 Feb 2022 21:20:17 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e385d0870c454cad7ddfedfe2130a5771420dc8

commit 1e385d0870c454cad7ddfedfe2130a5771420dc8
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-02-02 21:19:19 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-02-02 21:19:19 +0000

    emulators/bochs: Include CFLAGS directive needed for SB16 config flag
    
    PR:             261259
    Reported by:    Marty Stanquist <martys1oi@att.net>
---
 emulators/bochs/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index b2d638667b39..7569b6f08a09 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -24,7 +24,8 @@ CPE_VENDOR=	bochs_project
 
 SUB_FILES=	pkg-message
 
-CFLAGS+=	-fomit-frame-pointer
+CFLAGS+=	-fomit-frame-pointer \
+		-I${LOCALBASE}/include
 CXXFLAGS+=	-fno-exceptions
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -139,6 +140,7 @@ RFB_DESC=			RFB protocol support (works with VNC viewer)
 RFB_CONFIGURE_WITH=		rfb
 SB16_DESC=			Sound Blaster 16 emulation
 SB16_CONFIGURE_ENABLE=		sb16
+SB16_LIB_DEPENDS=		libsamplerate.so:audio/libsamplerate
 SDL1_DESC=			Simple Direct Media Layer 1 support
 SDL1_USES=			sdl
 SDL1_USE=			SDL=sdl