From owner-svn-ports-all@FreeBSD.ORG Wed Aug 20 14:31:00 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41CCF496; Wed, 20 Aug 2014 14:31:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21F1935DF; Wed, 20 Aug 2014 14:31:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7KEUxh9035891; Wed, 20 Aug 2014 14:30:59 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7KEUxfD035887; Wed, 20 Aug 2014 14:30:59 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201408201430.s7KEUxfD035887@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Wed, 20 Aug 2014 14:30:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365465 - in head/security/razorback-api: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 14:31:00 -0000 Author: adamw Date: Wed Aug 20 14:30:58 2014 New Revision: 365465 URL: http://svnweb.freebsd.org/changeset/ports/365465 QAT: https://qat.redports.org/buildarchive/r365465/ Log: Fix build, broken in the json-c 0.12 upgrade. Given the nature of the errors there are likely other ports that will fail in similar ways. (i.e. libjson.so->libjson-c.so, and json/json.h -> json-c/json.h). While here, use OPTIONS helpers to avoid unnecessary bsd.port.options.mk inclusion. Added: head/security/razorback-api/files/patch-common_m4__api_deps.m4 (contents, props changed) head/security/razorback-api/files/patch-common_m4__compiler_options.m4 (contents, props changed) head/security/razorback-api/files/patch-include__razorback__json_buffer.h (contents, props changed) Modified: head/security/razorback-api/Makefile Modified: head/security/razorback-api/Makefile ============================================================================== --- head/security/razorback-api/Makefile Wed Aug 20 14:23:14 2014 (r365464) +++ head/security/razorback-api/Makefile Wed Aug 20 14:30:58 2014 (r365465) @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libconfig.so:${PORTSDIR}/devel/libconfig \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ libcurl.so:${PORTSDIR}/ftp/curl \ - libjson.so:${PORTSDIR}/devel/json-c + libjson-c.so:${PORTSDIR}/devel/json-c OPTIONS_DEFINE= DEBUG ASSERT CNC_DEBUG STOMP_DEBUG @@ -27,31 +27,15 @@ STOMP_DEBUG_DESC= Enable STOMP Debug GNU_CONFIGURE= yes USES= libtool pathfix pkgconfig USE_LDCONFIG= yes +USE_AUTOTOOLS= autoconf CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib BROKEN_sparc64= Does not compile on sparc64 -.include - -.if !empty(PORT_OPTIONS:MDEBUG) -CONFIGURE_ARGS+=--enable-debug -.endif - -.if !empty(PORT_OPTIONS:MASSERT) -CONFIGURE_ARGS+=--enable-assert -.endif - -.if !empty(PORT_OPTIONS:MCNC_DEBUG) -CONFIGURE_ARGS+=--enable-cnc-debug -.endif - -.if !empty(PORT_OPTIONS:MSTOMP_DEBUG) -CONFIGURE_ARGS+=--enable-stomp-debug -.endif - -post-patch: - @${REINPLACE_CMD} -e "s/-Werror//g" \ - ${WRKSRC}/configure +DEBUG_CONFIGURE_ENABLE= debug +ASSERT_CONFIGURE_ENABLE= assert +CNC_DEBUG_CONFIGURE_ENABLE= cnc-debug +STOMP_DEBUG_CONFIGURE_ENABLE= stomp-debug .include Added: head/security/razorback-api/files/patch-common_m4__api_deps.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/razorback-api/files/patch-common_m4__api_deps.m4 Wed Aug 20 14:30:58 2014 (r365465) @@ -0,0 +1,11 @@ +--- ./common_m4/api_deps.m4.orig 2014-08-20 10:21:22.000000000 -0400 ++++ ./common_m4/api_deps.m4 2014-08-20 10:21:36.000000000 -0400 +@@ -55,7 +55,7 @@ + # [AC_MSG_ERROR("curl header file not found")] + # ) + +-PKG_CHECK_MODULES([JSON], [json >= 0.9]) ++PKG_CHECK_MODULES([JSON], [json-c >= 0.9]) + + CFLAGS="$JSON_CFLAGS $CFLAGS" + LIBS="$JSON_LIBS $LIBS" Added: head/security/razorback-api/files/patch-common_m4__compiler_options.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/razorback-api/files/patch-common_m4__compiler_options.m4 Wed Aug 20 14:30:58 2014 (r365465) @@ -0,0 +1,11 @@ +--- ./common_m4/compiler_options.m4.orig 2014-08-20 10:21:07.000000000 -0400 ++++ ./common_m4/compiler_options.m4 2014-08-20 10:21:17.000000000 -0400 +@@ -28,7 +28,7 @@ + + CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing" + CPPFLAGS="$CPPFLAGS -fno-strict-aliasing" +- CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter" ++ CWARNINGS="$CWARNINGS -Wall -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter" + if test "x$NOT_PEDANTIC" = "x"; then + CWARNINGS="$CWARNINGS -pedantic" + fi Added: head/security/razorback-api/files/patch-include__razorback__json_buffer.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/razorback-api/files/patch-include__razorback__json_buffer.h Wed Aug 20 14:30:58 2014 (r365465) @@ -0,0 +1,11 @@ +--- ./include/razorback/json_buffer.h.orig 2014-08-20 10:25:03.000000000 -0400 ++++ ./include/razorback/json_buffer.h 2014-08-20 10:25:26.000000000 -0400 +@@ -9,7 +9,7 @@ + #include + #include + +-#include ++#include + + #ifdef __cplusplus + extern "C" {