From 5e16e03e8c4c96b0708f8e2b00e0c1c8fb2c53ca Mon Sep 17 00:00:00 2001 From: martymac Date: Mon, 16 Jan 2017 21:18:27 +0000 Subject: Fix build with clang 4.0 PR: 216048 Submitted by: jbeich --- comms/rtl-sdr/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'comms') diff --git a/comms/rtl-sdr/Makefile b/comms/rtl-sdr/Makefile index 1564fbdeae11..98705f8cb3c9 100644 --- a/comms/rtl-sdr/Makefile +++ b/comms/rtl-sdr/Makefile @@ -3,7 +3,7 @@ PORTNAME= rtl-sdr PORTVERSION= 20140210 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= comms hamradio MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ LOCAL/martymac @@ -16,6 +16,7 @@ LICENSE= GPLv2 USES= autoreconf gmake pkgconfig libtool pathfix tar:tgz GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +CFLAGS+= -fgnu89-inline CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes -- cgit