pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ups-nut sysutils/ups-nut: Install nut-scanner



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07f9216125c2
branches:  trunk
changeset: 383083:07f9216125c2
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Aug 11 16:00:17 2022 +0000

description:
sysutils/ups-nut: Install nut-scanner

Depend on libltldl so that nut-scanner is built.  While the program
isn't that useful, it resolves the issue that the package has a man
page for a program that is not install.

diffstat:

 sysutils/ups-nut/Makefile |  6 ++++--
 sysutils/ups-nut/PLIST    |  4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r bbc6ae2017b2 -r 07f9216125c2 sysutils/ups-nut/Makefile
--- a/sysutils/ups-nut/Makefile Thu Aug 11 15:58:14 2022 +0000
+++ b/sysutils/ups-nut/Makefile Thu Aug 11 16:00:17 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.65 2022/06/28 11:36:06 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2022/08/11 16:00:17 gdt Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "Makefile.common"
 
 PKGNAME=               ups-${DISTNAME}
@@ -75,4 +75,6 @@
                ${INSTALL_DATA} $$f ${DESTDIR}${NUT_DOCDIR}/cables/; \
        done
 
+# nut-scanner needs libltdl, but this is not documented
+.include "../../devel/libltdl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bbc6ae2017b2 -r 07f9216125c2 sysutils/ups-nut/PLIST
--- a/sysutils/ups-nut/PLIST    Thu Aug 11 15:58:14 2022 +0000
+++ b/sysutils/ups-nut/PLIST    Thu Aug 11 16:00:17 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.29 2022/04/26 23:28:25 gdt Exp $
+@comment $NetBSD: PLIST,v 1.30 2022/08/11 16:00:17 gdt Exp $
+bin/nut-scanner
 bin/upsc
 bin/upscmd
 bin/upslog
@@ -15,6 +16,7 @@
 include/upsclient.h
 lib/libnutclient.la
 lib/libnutclientstub.la
+lib/libnutscan.la
 lib/libupsclient.la
 lib/pkgconfig/libnutclient.pc
 lib/pkgconfig/libnutclientstub.pc



Home | Main Index | Thread Index | Old Index