pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/gpsd



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Aug  8 23:14:46 UTC 2021

Modified Files:
        pkgsrc/geography/gpsd: Makefile PLIST

Log Message:
gpsd: Cope with Apple thinking different about shlib extensions


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/geography/gpsd/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/geography/gpsd/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/gpsd/Makefile
diff -u pkgsrc/geography/gpsd/Makefile:1.57 pkgsrc/geography/gpsd/Makefile:1.58
--- pkgsrc/geography/gpsd/Makefile:1.57 Sun Aug  8 15:20:14 2021
+++ pkgsrc/geography/gpsd/Makefile      Sun Aug  8 23:14:46 2021
@@ -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

Index: pkgsrc/geography/gpsd/PLIST
diff -u pkgsrc/geography/gpsd/PLIST:1.17 pkgsrc/geography/gpsd/PLIST:1.18
--- pkgsrc/geography/gpsd/PLIST:1.17    Sun Aug  8 15:36:22 2021
+++ pkgsrc/geography/gpsd/PLIST Sun Aug  8 23:14:46 2021
@@ -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/xgpsspeed
 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