diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2017-08-21 10:35:42 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2017-08-21 10:35:42 +0000 |
commit | 914eb0b557ffac82a8e427e6488369b6e701d2ef (patch) | |
tree | 642cae085173f6d537c5038bdf895fe5b29ca546 /net/czmq | |
parent | afb514cfd93b754e24e7d8bea9ec2b435db90984 (diff) | |
download | ports-914eb0b557ffac82a8e427e6488369b6e701d2ef.tar.gz ports-914eb0b557ffac82a8e427e6488369b6e701d2ef.zip |
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>
MFH: 2017Q3
Notes
Notes:
svn path=/head/; revision=448460
Diffstat (limited to 'net/czmq')
-rw-r--r-- | net/czmq/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/czmq/Makefile b/net/czmq/Makefile index 52f88daaf83a..40315dd10432 100644 --- a/net/czmq/Makefile +++ b/net/czmq/Makefile @@ -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> |