diff options
author | maya <maya@pkgsrc.org> | 2021-12-17 20:09:34 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2021-12-17 20:09:34 +0000 |
commit | 90c24a801064f63d5968a6ff7670c66fed1dbe6c (patch) | |
tree | 9a432b42df6a9ba763cad74e2ab98964ec6f91a9 /chat | |
parent | e9641ae3622808eb538e05286fe77a016bb6ea5d (diff) | |
download | pkgsrc-90c24a801064f63d5968a6ff7670c66fed1dbe6c.tar.gz |
hexchat: use pciutils mk fragment to find libpci soname. no functional change
Diffstat (limited to 'chat')
-rw-r--r-- | chat/hexchat/options.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chat/hexchat/options.mk b/chat/hexchat/options.mk index 35e62d8c6a7..fa55f1e4139 100644 --- a/chat/hexchat/options.mk +++ b/chat/hexchat/options.mk @@ -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 @@ MESON_ARGS+= -Dlibcanberra=disabled .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 |