pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/libfolks libfolks: Add PLIST substitution for SOE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98c0a4ac03d2
branches:  trunk
changeset: 451354:98c0a4ac03d2
user:      cirnatdan <cirnatdan%pkgsrc.org@localhost>
date:      Mon Apr 26 13:41:04 2021 +0000

description:
libfolks: Add PLIST substitution for SOEXT, fixes buid on macOS

diffstat:

 chat/libfolks/Makefile |  7 ++++++-
 chat/libfolks/PLIST    |  8 ++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 3aceb7130010 -r 98c0a4ac03d2 chat/libfolks/Makefile
--- a/chat/libfolks/Makefile    Mon Apr 26 13:01:19 2021 +0000
+++ b/chat/libfolks/Makefile    Mon Apr 26 13:41:04 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/04/21 11:41:06 adam Exp $
+# $NetBSD: Makefile,v 1.21 2021/04/26 13:41:04 cirnatdan Exp $
 
 DISTNAME=      folks-0.14.0
 PKGNAME=       lib${DISTNAME}
@@ -25,6 +25,11 @@
 PKGCONFIG_OVERRIDE+=           output/meson-private/folks-dummy.pc
 PKGCONFIG_OVERRIDE+=           output/meson-private/folks-telepathy.pc
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../devel/meson/build.mk"
 .include "../../chat/telepathy-glib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
diff -r 3aceb7130010 -r 98c0a4ac03d2 chat/libfolks/PLIST
--- a/chat/libfolks/PLIST       Mon Apr 26 13:01:19 2021 +0000
+++ b/chat/libfolks/PLIST       Mon Apr 26 13:41:04 2021 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2020/06/10 18:08:21 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/04/26 13:41:04 cirnatdan Exp $
 bin/folks-import
 bin/folks-inspect
 include/folks/folks-dummy.h
 include/folks/folks-telepathy.h
 include/folks/folks.h
-lib/folks/46/backends/dummy/dummy.so
-lib/folks/46/backends/key-file/key-file.so
-lib/folks/46/backends/telepathy/telepathy.so
+lib/folks/46/backends/dummy/dummy.${SOEXT}
+lib/folks/46/backends/key-file/key-file.${SOEXT}
+lib/folks/46/backends/telepathy/telepathy.${SOEXT}
 lib/girepository-1.0/Folks-0.6.typelib
 lib/girepository-1.0/FolksDummy-0.6.typelib
 lib/girepository-1.0/FolksTelepathy-0.6.typelib



Home | Main Index | Thread Index | Old Index