diff options
author | koobs <koobs@FreeBSD.org> | 2017-08-21 10:38:42 +0000 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2017-08-21 10:38:42 +0000 |
commit | 05693d2c899524396068b4c5b3bd70730236e61c (patch) | |
tree | 171ad65767045d5f1d46e647d9b83e538a97ff5c | |
parent | 4685a993ea0cdf091e0e45ec7bda7a7dd59602f8 (diff) | |
download | FreeBSD-ports-05693d2c899524396068b4c5b3bd70730236e61c.zip FreeBSD-ports-05693d2c899524396068b4c5b3bd70730236e61c.tar.gz |
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)
-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 33ac885..86c5224 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> |