freebsd-ports/devel/libshbuf/Makefile
Brooks Davis 16a06ea402 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
2018-03-02 22:34:53 +00:00

22 lines
452 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libshbuf
PORTVERSION= 0.0.3
CATEGORIES= devel
MASTER_SITES= http://0pointer.de/lennart/projects/libshbuf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for Shared Buffer IPC
LICENSE= GPLv2 # though COPYING says LGPL21
USE_LDCONFIG= yes
USES= pathfix libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-lynx --disable-doxygen
INSTALL_TARGET= install-strip
CFLAGS+= -D_WANT_SEMUN
.include <bsd.port.mk>