pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gpsd gpsd: Cope with Apple thinking differen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2dfa8baf6e57
branches:  trunk
changeset: 456794:2dfa8baf6e57
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Aug 08 23:14:46 2021 +0000

description:
gpsd: Cope with Apple thinking different about shlib extensions

diffstat:

 geography/gpsd/Makefile |  11 ++++++++++-
 geography/gpsd/PLIST    |  14 +++++++-------
 2 files changed, 17 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r caea54ffaace -r 2dfa8baf6e57 geography/gpsd/Makefile
--- a/geography/gpsd/Makefile   Sun Aug 08 22:04:26 2021 +0000
+++ b/geography/gpsd/Makefile   Sun Aug 08 23:14:46 2021 +0000
@@ -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 @@
        ${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
diff -r caea54ffaace -r 2dfa8baf6e57 geography/gpsd/PLIST
--- a/geography/gpsd/PLIST      Sun Aug 08 22:04:26 2021 +0000
+++ b/geography/gpsd/PLIST      Sun Aug 08 23:14:46 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2021/08/08 15:36:22 gdt Exp $
+@comment $NetBSD: PLIST,v 1.18 2021/08/08 23:14:46 gdt Exp $
 bin/cgps
 bin/gegps
 bin/gps2udp
@@ -24,12 +24,12 @@
 bin/zerk
 include/gps.h
 include/libgpsmm.h
-lib/libgps.so
-lib/libgps.so.29
-lib/libgps.so.29.0.0
-lib/libgpsdpacket.so
-lib/libgpsdpacket.so.29
-lib/libgpsdpacket.so.29.0.0
+lib/libgps${PLIST_SO}${PLIST_DYLIB}
+lib/libgps${PLIST_SO}.29${PLIST_DYLIB}
+lib/libgps${PLIST_SO}.29.0.0${PLIST_DYLIB}
+lib/libgpsdpacket${PLIST_SO}${PLIST_DYLIB}
+lib/libgpsdpacket${PLIST_SO}.29${PLIST_DYLIB}
+lib/libgpsdpacket${PLIST_SO}.29.0.0${PLIST_DYLIB}
 lib/pkgconfig/libgps.pc
 ${PYSITELIB}/gps-${PKGVERSION}.egg-info
 ${PYSITELIB}/gps/__init__.py



Home | Main Index | Thread Index | Old Index