summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2018-01-22 04:42:44 +0000
committerdbj <dbj@pkgsrc.org>2018-01-22 04:42:44 +0000
commit7c86a4d3248f5621062067549218c1ab067f09f6 (patch)
treedc2fc89229914a5a19a6bc163f6132f5b9e7b053 /ham
parentd8437c021297e9db0946c4538d3f6075de1338ef (diff)
downloadpkgsrc-7c86a4d3248f5621062067549218c1ab067f09f6.tar.gz
fix inline calls in src/rtl_adsb.c and src/rtl_power.c
Diffstat (limited to 'ham')
-rw-r--r--ham/rtl-sdr/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ham/rtl-sdr/Makefile b/ham/rtl-sdr/Makefile
index b8cb3e81c41..ca7ded38c74 100644
--- a/ham/rtl-sdr/Makefile
+++ b/ham/rtl-sdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2016/09/17 22:13:26 wiedi Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/22 04:42:44 dbj Exp $
DISTNAME= rtl-sdr-0.5.3
PKGREVISION= 2
@@ -20,6 +20,12 @@ CONFIGURE_DIRS=build
BUILD_DIRS=${CONFIGURE_DIRS}
CMAKE_ARG_PATH=..
+SUBST_CLASSES+= fix-inline
+SUBST_STAGE.fix-inline= pre-configure
+SUBST_MESSAGE.fix-inline= Fixing inline calls
+SUBST_FILES.fix-inline= src/rtl_adsb.c src/rtl_power.c
+SUBST_SED.fix-inline= -e 's,inline,static inline,g'
+
PKGCONFIG_OVERRIDE+= librtlsdr.pc.in
LDFLAGS.SunOS+= -lsocket -lnsl