[Bug 221095] net/xmlrpc-c is dependent upon readline
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 29 23:00:03 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221095
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 at FreeBSD.org
Reporter: dewayne at heuristicsystems.com.au
Assignee: garga at FreeBSD.org
Flags: maintainer-feedback?(garga at FreeBSD.org)
When readline is not in the base system, this error results:
/usr/local/libexec/ccache/c++ -c -DNDEBUG -Wall -W -Wno-uninitialized -Wundef
-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=core-avx-i -mtune=core-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.000000000
+1000
+++ /usr/ports//net/xmlrpc-c/Makefile 2017-07-30 08:50:05.000000000 +1000
@@ -18,8 +18,9 @@
CPLUSPLUS_DESC= Build xmlrpc-c c++ libs and tools
CONFLICTS= xmlrpc-epi-0.*
-
-USES= gmake tar:tgz
+# 20170730 Added next 2 lines for readline - seeks readline/readline.h in
xmlrpc_pstream.cpp
+# Not picked up? CPPFLAGS+= -I/usr/local/edit/
+USES= gmake tar:tgz readline
OPTIONS_SUB= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
@@ -62,5 +63,8 @@
${WRKSRC}/test/cpp/server_abyss.cpp
@${REINPLACE_CMD} -e '/^INSTALL_/s/=/\?=/' \
${WRKSRC}/config.mk.in
+ @${REINPLACE_CMD} -e 's|readline/readline.h|edit/readline/readline.h|g'
\
+ ${WRKSRC}/tools/xmlrpc_pstream/xmlrpc_pstream.cpp
+
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list