summaryrefslogtreecommitdiff
path: root/geography/gpsd/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2021-08-08 23:14:46 +0000
committergdt <gdt@pkgsrc.org>2021-08-08 23:14:46 +0000
commit74b53e40492bbd6f4513e10698c1d475c2050fa7 (patch)
tree0c7061130017ca139541afbc9f44031df1c46d09 /geography/gpsd/Makefile
parent028a171a6ec080f1dd698e1a8ae6f5e2fe958814 (diff)
downloadpkgsrc-74b53e40492bbd6f4513e10698c1d475c2050fa7.tar.gz
gpsd: Cope with Apple thinking different about shlib extensions
Diffstat (limited to 'geography/gpsd/Makefile')
-rw-r--r--geography/gpsd/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile
index 959830cd566..c9af8a89ea3 100644
--- a/geography/gpsd/Makefile
+++ b/geography/gpsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2021/08/08 15:20:14 gdt Exp $
+# $NetBSD: Makefile,v 1.58 2021/08/08 23:14:46 gdt Exp $
DISTNAME= gpsd-3.23
PKGREVISION= 1
@@ -73,6 +73,15 @@ do-test:
${SCONS_ARGS} \
check
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= PLIST_SO=
+PLIST_SUBST+= PLIST_DYLIB=.dylib
+.else
+PLIST_SUBST+= PLIST_SO=.so
+PLIST_SUBST+= PLIST_DYLIB=
+.endif
+
# \todo Consider not including this and using the pre-built man pages.
.include "../../lang/ruby/rubyversion.mk"
BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor