diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-10-14 03:06:59 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-10-15 03:14:09 +0000 |
commit | 49e3b0f6a37fe94381ae6c0d216e642a72907b98 (patch) | |
tree | 092f3bab864d7e60e10454fa6183682621736a22 /sysutils | |
parent | c5fab429693802fcd4ac068e82313e5da2d01dba (diff) | |
download | ports-49e3b0f6a37fe94381ae6c0d216e642a72907b98.tar.gz ports-49e3b0f6a37fe94381ae6c0d216e642a72907b98.zip |
sysutils/nut: Build nut-scanner(8)
Depend on devel/ltdl and ensure that ${LOCALBASE}/include and
${LOCALBASE}/lib are available for ./configure to detect ltdl.h and
libltdl to facilitate building nut-scanner(8).
PR: 259153
Reported by: emaste
(cherry picked from commit 75ca0c0a1067e17e31335a0cd1c85e2432d9e51a)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nut/Makefile | 5 | ||||
-rw-r--r-- | sysutils/nut/pkg-plist | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 73868507ed9c..bb9792c23ae7 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -2,7 +2,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -62,6 +62,9 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \ --with-group=${NUT_GROUP} \ --with-dev +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LIB_DEPENDS+= libltdl.so:devel/libltdl + .if ${PORT_OPTIONS:MCGI} LIB_DEPENDS+= libgd.so:graphics/gd CGIDIR?= ${PREFIX}/www/cgi-bin/${PORTNAME} diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist index 2fd0ddea5389..c29388ae986c 100644 --- a/sysutils/nut/pkg-plist +++ b/sysutils/nut/pkg-plist @@ -20,6 +20,7 @@ @sample %%EXAMPLESDIR%%/newsyslog.sample etc/newsyslog.conf.d/nut.conf @sample %%EXAMPLESDIR%%/syslog.sample etc/syslog.d/nut %%NUT_USB%%etc/devd/nut-usb.conf +bin/nut-scanner bin/upsc bin/upscmd bin/upslog @@ -37,6 +38,10 @@ lib/libnutclient.a lib/libnutclient.so lib/libnutclient.so.0 lib/libnutclient.so.0.0.0 +lib/libnutscan.a +lib/libnutscan.so +lib/libnutscan.so.1 +lib/libnutscan.so.1.0.0 lib/libupsclient.a lib/libupsclient.so lib/libupsclient.so.4 |