pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/hexchat hexchat: Fix package list for macOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e84613f2b0c8
branches:  trunk
changeset: 378275:e84613f2b0c8
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Apr 04 17:40:23 2018 +0000

description:
hexchat: Fix package list for macOS

Shared objects use the extension ".dylib" and ".so" under macOS.
Adapt the package list dynamically as necessary

diffstat:

 chat/hexchat/Makefile |   7 ++++++-
 chat/hexchat/PLIST    |  14 +++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r ef27ae5da08e -r e84613f2b0c8 chat/hexchat/Makefile
--- a/chat/hexchat/Makefile     Wed Apr 04 16:26:25 2018 +0000
+++ b/chat/hexchat/Makefile     Wed Apr 04 17:40:23 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2018/03/17 11:56:15 tnn Exp $
+# $NetBSD: Makefile,v 1.24 2018/04/04 17:40:23 tron Exp $
 
 DISTNAME=      hexchat-2.14.1
 CATEGORIES=    chat
@@ -33,6 +33,11 @@
 REPLACE_PYTHON+=       src/common/make-te.py
 REPLACE_PYTHON+=       meson_post_install.py
 
+OPSYSVARS+=            SOEXT
+SOEXT.Darwin=          dylib
+SOEXT.*=               so
+PLIST_SUBST+=          SOEXT=${SOEXT}
+
 .include "../../devel/py-meson/build.mk"
 .include "../../textproc/iso-codes/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
diff -r ef27ae5da08e -r e84613f2b0c8 chat/hexchat/PLIST
--- a/chat/hexchat/PLIST        Wed Apr 04 16:26:25 2018 +0000
+++ b/chat/hexchat/PLIST        Wed Apr 04 17:40:23 2018 +0000
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.3 2018/03/17 11:56:15 tnn Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/04/04 17:40:23 tron Exp $
 ${PLIST.gtk2}bin/hexchat
 bin/hexchat-text
 include/hexchat-plugin.h
-lib/hexchat/plugins/checksum.so
-${PLIST.fishlim}lib/hexchat/plugins/fishlim.so
-${PLIST.lua}lib/hexchat/plugins/lua.so
-${PLIST.perl}lib/hexchat/plugins/perl.so
-${PLIST.python}lib/hexchat/plugins/python.so
-${PLIST.libpci}lib/hexchat/plugins/sysinfo.so
+lib/hexchat/plugins/checksum.${SOEXT}
+${PLIST.fishlim}lib/hexchat/plugins/fishlim.${SOEXT}
+${PLIST.lua}lib/hexchat/plugins/lua.${SOEXT}
+${PLIST.perl}lib/hexchat/plugins/perl.${SOEXT}
+${PLIST.python}lib/hexchat/plugins/python.${SOEXT}
+${PLIST.libpci}lib/hexchat/plugins/sysinfo.${SOEXT}
 lib/pkgconfig/hexchat-plugin.pc
 ${PLIST.gtk2}man/man1/hexchat.1
 ${PLIST.gtk2}share/applications/io.github.Hexchat.desktop



Home | Main Index | Thread Index | Old Index