diff options
author | brooks <brooks@FreeBSD.org> | 2018-03-03 06:34:53 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2018-03-03 06:34:53 +0800 |
commit | 2770369de4372bb3b959b5e3eed35f5457e3f815 (patch) | |
tree | 74598255802a1be780cec8e6fed3805dd3777ae6 /net-p2p | |
parent | 7c39fc5b64d6f513d4378960f349476dbd662ed6 (diff) | |
download | freebsd-ports-graphics-2770369de4372bb3b959b5e3eed35f5457e3f815.tar.gz freebsd-ports-graphics-2770369de4372bb3b959b5e3eed35f5457e3f815.tar.zst freebsd-ports-graphics-2770369de4372bb3b959b5e3eed35f5457e3f815.zip |
Work around the lack of definition of union semun per POSIX.
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.
PR: 224300, 224443 (exp-run)
Approved by: portmgr (antoine)
Exp-run: antoine
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14137
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/monero-cli/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile index f462ab10f43..fe7e415acd6 100644 --- a/net-p2p/monero-cli/Makefile +++ b/net-p2p/monero-cli/Makefile @@ -30,6 +30,7 @@ USES= cmake compiler:c++11-lib pkgconfig readline ssl USE_GITHUB= yes GH_ACCOUNT= monero-project GH_PROJECT= monero +CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= DOXYGEN DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \ |