From 74b53e40492bbd6f4513e10698c1d475c2050fa7 Mon Sep 17 00:00:00 2001 From: gdt Date: Sun, 8 Aug 2021 23:14:46 +0000 Subject: gpsd: Cope with Apple thinking different about shlib extensions --- geography/gpsd/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'geography/gpsd/Makefile') 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 -- cgit v1.2.3