aboutsummaryrefslogtreecommitdiff
path: root/sysutils/freeipmi
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-03-02 22:34:53 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-03-02 22:34:53 +0000
commit16a06ea40221c2bb23799b052867383d27bdff4e (patch)
tree74598255802a1be780cec8e6fed3805dd3777ae6 /sysutils/freeipmi
parent327f701df5048adf449318a745a10fc6ce80ca9a (diff)
downloadports-16a06ea40221c2bb23799b052867383d27bdff4e.tar.gz
ports-16a06ea40221c2bb23799b052867383d27bdff4e.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
Notes
Notes: svn path=/head/; revision=463452
Diffstat (limited to 'sysutils/freeipmi')
-rw-r--r--sysutils/freeipmi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index 766cd2446a32..172c3d12975a 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -36,6 +36,7 @@ CONFIGURE_ENV= PTHREAD_LIBS=-lpthread ac_cv_path_CPP=${CPP}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake libtool localbase shebangfix
+CFLAGS+= -D_WANT_SEMUN
INFO= freeipmi-faq
PLIST_SUB= CACHE_DIR=${CACHE_DIR}