Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 10:38:43 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r448461 - branches/2017Q3/net/czmq
Message-ID:  <201708211038.v7LAchUL046032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Aug 21 10:38:42 2017
New Revision: 448461
URL: https://svnweb.freebsd.org/changeset/ports/448461

Log:
  MFH: r448460
  
  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 <crest_maintainer rlwinm de>
  
  Approved by:	ports-secteam (blanket)

Modified:
  branches/2017Q3/net/czmq/Makefile
Directory Properties:
  branches/2017Q3/   (props changed)

Modified: branches/2017Q3/net/czmq/Makefile
==============================================================================
--- branches/2017Q3/net/czmq/Makefile	Mon Aug 21 10:35:42 2017	(r448460)
+++ branches/2017Q3/net/czmq/Makefile	Mon Aug 21 10:38:42 2017	(r448461)
@@ -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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708211038.v7LAchUL046032>