sysutils/nut-devel: Update to the latest networkupstools/nut github commit

In addition to this update, the nutworkupstools upstream's check for
ltdl.h now fails on llvm as of upstream commit 17eeef008 with the
following error during configure:

conftest.c:240:10: fatal error: 'ltdl.h' file not found
         ^~~~~~~~
1 error generated.

They put the correct arguments into the CLFAGS environment variable however
llvm does not see the environment variable whereas gcc does. Adding USE_GCC
works around this problem for now.
This commit is contained in:
Cy Schubert 2022-08-28 10:40:51 -07:00
parent 70d04c4f66
commit 898554463d

View file

@ -21,6 +21,7 @@ GH_TAGNAME= 2ce9dfa4a
NUT_COMMIT_DATE= 2022.08.25
MAKE_JOBS_UNSAFE= yes
USE_GCC= yes
GNU_CONFIGURE= yes
USES= autoreconf:build compiler:c11 gmake libtool pkgconfig python
USE_LDCONFIG= yes
@ -74,7 +75,8 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
--with-python=${PYTHON_CMD} \
--without-python2 \
--with-python3=${PYTHON_CMD} \
--with-dev
--with-dev \
--with-ltdl --with-nut-scanner
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
LIB_DEPENDS+= libltdl.so:devel/libltdl