unbreak asterisk-g729 build

This commit is contained in:
sthen 2022-08-07 11:36:37 +00:00
parent 4bbb3d2734
commit 229a369962
1 changed files with 9 additions and 0 deletions

View File

@ -42,4 +42,13 @@ AUTORECONF= ./autogen.sh
# cd ${WRKSRC}; ${MAKE_PROGRAM} astconv CPPFLAGS=-I${LOCALBASE}/include \
# CFLAGS="${CFLAGS} -D_GNU_SOURCE -Wall -rdynamic" LDFLAGS=-lm
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mclang}
CFLAGS += -fblocks
LDFLAGS += -lBlocksRuntime
LIB_DEPENDS += devel/libdispatch
WANTLIB += BlocksRuntime
.endif
.include <bsd.port.mk>