Date: Sat, 29 Jul 2017 23:00:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221095] net/xmlrpc-c is dependent upon readline Message-ID: <bug-221095-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221095 Bug ID: 221095 Summary: net/xmlrpc-c is dependent upon readline Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: garga@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au Assignee: garga@FreeBSD.org Flags: maintainer-feedback?(garga@FreeBSD.org) When readline is not in the base system, this error results: /usr/local/libexec/ccache/c++ -c -DNDEBUG -Wall -W -Wno-uninitialized -Wund= ef -Wimplicit -Wno-unknown-pragmas -Wsynth -g -I../lib/include -Isrcdir/lib/util/include -Iblddir -Iblddir/include -Isrcdir/include -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUG -march=3Dcore-avx-i -mtune=3Dcore-avx-i -DNDEBUG -fstack-protector -fno-strict-aliasing xmlrpc_pstream.cpp xmlrpc_pstream.cpp:12:10: fatal error: 'readline/readline.h' file not found #include <readline/readline.h> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. A guiding solution for those that do not have readline in their base system. # diff -urN /usr/ports//net/xmlrpc-c/Makefile.orig /usr/ports//net/xmlrpc-c/Makefile --- /usr/ports//net/xmlrpc-c/Makefile.orig 2017-07-30 08:32:49.0000000= 00 +1000 +++ /usr/ports//net/xmlrpc-c/Makefile 2017-07-30 08:50:05.000000000 +1000 @@ -18,8 +18,9 @@ CPLUSPLUS_DESC=3D Build xmlrpc-c c++ libs and tools CONFLICTS=3D xmlrpc-epi-0.* - -USES=3D gmake tar:tgz +# 20170730 Added next 2 lines for readline - seeks readline/readline.h in xmlrpc_pstream.cpp +# Not picked up? CPPFLAGS+=3D -I/usr/local/edit/ +USES=3D gmake tar:tgz readline OPTIONS_SUB=3D yes GNU_CONFIGURE=3D yes MAKEFILE=3D GNUmakefile @@ -62,5 +63,8 @@ ${WRKSRC}/test/cpp/server_abyss.cpp @${REINPLACE_CMD} -e '/^INSTALL_/s/=3D/\?=3D/' \ ${WRKSRC}/config.mk.in + @${REINPLACE_CMD} -e 's|readline/readline.h|edit/readline/readline.= h|g' \ + ${WRKSRC}/tools/xmlrpc_pstream/xmlrpc_pstream.cpp + --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221095-13>