diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-03-02 22:34:53 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-03-02 22:34:53 +0000 |
commit | 16a06ea40221c2bb23799b052867383d27bdff4e (patch) | |
tree | 74598255802a1be780cec8e6fed3805dd3777ae6 /benchmarks/super-smack | |
parent | Welcome the new syslog-ng 3.14 in syslog-ng314. (diff) |
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
Notes
Notes:
svn path=/head/; revision=463452
Diffstat (limited to 'benchmarks/super-smack')
-rw-r--r-- | benchmarks/super-smack/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile index 3b006ea560a1..affe6cd681a6 100644 --- a/benchmarks/super-smack/Makefile +++ b/benchmarks/super-smack/Makefile @@ -15,6 +15,7 @@ LICENSE= GPLv2+ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-smacks-dir=${DATADIR} MAKE_JOBS_UNSAFE= yes +CPPFLAGS+= -D_WANT_SEMUN PORTDOCS= CHANGES README MANUAL TUTORIAL |