Date: Wed, 6 May 2009 19:12:57 GMT From: Renato Aquino <renato.aquino@bluepex.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134298: XMLRPC-C-DEVEL lacks build options for C++ headers and libs Message-ID: <200905061912.n46JCvoa081391@www.freebsd.org> Resent-Message-ID: <200905061920.n46JK1EO019450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134298 >Category: ports >Synopsis: XMLRPC-C-DEVEL lacks build options for C++ headers and libs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 06 19:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Renato Aquino >Release: 7.2 >Organization: BluePex Security Solutions >Environment: FreeBSD freebox.bplab.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The library xmlrpc-c has support for c and c++, but the port doesn't enables c++ and lacks an option on the config menu. >How-To-Repeat: cd /usr/ports/net/xmlrpc-c-devel make config make install You'll miss some headers and libraries like /usr/local/include/xmlrpc-c/base.hpp /usr/local/include/xmlrpc-c/packetsocket.hpp /usr/local/include/xmlrpc-c/timeout.hpp /usr/local/include/xmlrpc-c/girerr.hpp /usr/local/include/xmlrpc-c/registry.hpp /usr/local/include/xmlrpc-c/xml.hpp /usr/local/include/xmlrpc-c/girmem.hpp /usr/local/include/xmlrpc-c/server_abyss.hpp /usr/local/include/xmlrpc-c/oldcppwrapper.hpp /usr/local/include/xmlrpc-c/server_pstream.hpp /usr/local/lib/libxmlrpc++.a /usr/local/lib/libxmlrpc_server_abyss++.so.5 /usr/local/lib/libxmlrpc++.so /usr/local/lib/libxmlrpc_server_abyss++.so.5.18 /usr/local/lib/libxmlrpc++.so.5 /usr/local/lib/libxmlrpc_server_cgi++.a /usr/local/lib/libxmlrpc++.so.5.18 /usr/local/lib/libxmlrpc_server_cgi++.so /usr/local/lib/libxmlrpc_server++.a /usr/local/lib/libxmlrpc_server_cgi++.so.5 /usr/local/lib/libxmlrpc_server++.so /usr/local/lib/libxmlrpc_server_cgi++.so.5.18 /usr/local/lib/libxmlrpc_server++.so.5 /usr/local/lib/libxmlrpc_server_pstream++.a /usr/local/lib/libxmlrpc_server++.so.5.18 /usr/local/lib/libxmlrpc_server_pstream++.so /usr/local/lib/libxmlrpc_server_abyss++.a /usr/local/lib/libxmlrpc_server_pstream++.so.5 /usr/local/lib/libxmlrpc_server_abyss++.so /usr/local/lib/libxmlrpc_server_pstream++.so.5.18 >Fix: Path attached Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/xmlrpc-c-devel/Makefile,v retrieving revision 1.38 diff -u -r1.38 Makefile --- Makefile 10 Apr 2009 18:12:05 -0000 1.38 +++ Makefile 6 May 2009 18:37:06 -0000 @@ -19,8 +19,9 @@ OPTIONS= DEBUG "Compile with debugging information" off \ CURL "Compile with curl support" on \ - LIBWWW "Compile with libwww support" on - + LIBWWW "Compile with libwww support" on \ + CPLUSPLUS "Enable cpp headers and libs" off + CONFLICTS= xmlrpc-epi-0.* xmlrpc-c-[0-9]* USE_GNOME= gnometarget @@ -40,6 +41,12 @@ CFLAGS+= -DNDEBUG .endif +.if defined(WITH_CPLUSPLUS) +CONFIGURE_ARGS+= --enable-cplusplus +.else +CONFIGURE_ARGS+= --disable-cplusplus +.endif + .if defined(WITHOUT_CURL) CONFIGURE_ARGS+= --disable-curl-client .else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905061912.n46JCvoa081391>