pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/hexchat hexchat: use pciutils mk fragment to find...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c6211825438
branches: trunk
changeset: 771376:3c6211825438
user: maya <maya%pkgsrc.org@localhost>
date: Fri Dec 17 20:09:34 2021 +0000
description:
hexchat: use pciutils mk fragment to find libpci soname. no functional change
diffstat:
chat/hexchat/options.mk | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r c9a9b86d5517 -r 3c6211825438 chat/hexchat/options.mk
--- a/chat/hexchat/options.mk Fri Dec 17 20:08:58 2021 +0000
+++ b/chat/hexchat/options.mk Fri Dec 17 20:09:34 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2021/10/19 08:17:06 nia Exp $
+# $NetBSD: options.mk,v 1.11 2021/12/17 20:09:34 maya Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hexchat
PKG_SUPPORTED_OPTIONS= dbus gtk2 libcanberra libpci
@@ -39,11 +39,8 @@
.if !empty(PKG_OPTIONS:Mlibpci)
.include "../../sysutils/pciutils/buildlink3.mk"
-. if ${OPSYS} == "NetBSD"
-LIBS+= -lpciutils
-. else
-LIBS+= -lpci
-. endif
+.include "../../sysutils/pciutils/libname.mk"
+LIBS+= -l${PCIUTILS_LIBNAME}
PLIST.libpci= yes
MESON_ARGS+= -Dwith-sysinfo=true
.else
Home |
Main Index |
Thread Index |
Old Index