pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/hexchat



Module Name:    pkgsrc
Committed By:   maya
Date:           Fri Dec 17 20:09:34 UTC 2021

Modified Files:
        pkgsrc/chat/hexchat: options.mk

Log Message:
hexchat: use pciutils mk fragment to find libpci soname. no functional change


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/chat/hexchat/options.mk

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

Modified files:

Index: pkgsrc/chat/hexchat/options.mk
diff -u pkgsrc/chat/hexchat/options.mk:1.10 pkgsrc/chat/hexchat/options.mk:1.11
--- pkgsrc/chat/hexchat/options.mk:1.10 Tue Oct 19 08:17:06 2021
+++ pkgsrc/chat/hexchat/options.mk      Fri Dec 17 20:09:34 2021
@@ -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



Home | Main Index | Thread Index | Old Index