From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 6 19:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 286F81065670 for ; Wed, 6 May 2009 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 031B38FC1F for ; Wed, 6 May 2009 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n46JK1LZ019451 for ; Wed, 6 May 2009 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n46JK1EO019450; Wed, 6 May 2009 19:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 6 May 2009 19:20:01 GMT Resent-Message-Id: <200905061920.n46JK1EO019450@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Aquino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42DAD106566B for ; Wed, 6 May 2009 19:12:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 312FF8FC1B for ; Wed, 6 May 2009 19:12:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n46JCvUV081392 for ; Wed, 6 May 2009 19:12:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n46JCvoa081391; Wed, 6 May 2009 19:12:57 GMT (envelope-from nobody) Message-Id: <200905061912.n46JCvoa081391@www.freebsd.org> Date: Wed, 6 May 2009 19:12:57 GMT From: Renato Aquino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/134298: XMLRPC-C-DEVEL lacks build options for C++ headers and libs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 19:20:03 -0000 >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: