From owner-svn-ports-all@freebsd.org Mon Aug 21 10:35:44 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10FDFDD0B81; Mon, 21 Aug 2017 10:35:44 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 D2BA76972E; Mon, 21 Aug 2017 10:35:43 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7LAZh49045763; Mon, 21 Aug 2017 10:35:43 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7LAZhSu045762; Mon, 21 Aug 2017 10:35:43 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201708211035.v7LAZhSu045762@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 21 Aug 2017 10:35:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448460 - head/net/czmq X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/net/czmq X-SVN-Commit-Revision: 448460 X-SVN-Commit-Repository: ports 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.23 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: Mon, 21 Aug 2017 10:35:44 -0000 Author: koobs Date: Mon Aug 21 10:35:42 2017 New Revision: 448460 URL: https://svnweb.freebsd.org/changeset/ports/448460 Log: net/czmq: Squash -Werror flag zmq_utils.h functionality was moved to zmq.h since 4.2.0, with a deprecation warning added. ports r448376 updated libzm4 to 4.2.2, which caused a build error in net/cmzq due to the -Werror flag (set by default): /usr/local/include/zmq_utils.h:41:32: error: unknown warning group '-Werror', ignored [-Werror,-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Werror" ^ /usr/local/include/zmq_utils.h:44:9: warning: Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h. [-W#pragma-messages] #pragma message("Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h.") ^ Squash the -Werror flag (as done in net/libzmq4) accordingly. While I'm here: - Modernize test target - Group build related entries (MAKE_ENV/CPPFLAGS) PR: 221688 Reported by: olgeni, Jan Bramkamp MFH: 2017Q3 Modified: head/net/czmq/Makefile Modified: head/net/czmq/Makefile ============================================================================== --- head/net/czmq/Makefile Mon Aug 21 09:51:29 2017 (r448459) +++ head/net/czmq/Makefile Mon Aug 21 10:35:42 2017 (r448460) @@ -22,10 +22,10 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libzmq=${LOCALBASE} \ --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig -MAKE_ENV= V=1 INSTALL_TARGET= install-strip +TEST_TARGET= check -regression-test: build - @cd ${WRKSRC} && ${MAKE} check +MAKE_ENV= V=1 +CPPFLAGS+= -Wno-error .include