freebsd-ports/x11/libxshmfence/Makefile
Jan Beich 5e4f924b3e x11/libxshmfence: don't leak /tmp/shmfd* files with O_CLOEXEC
- Both mkostemp() and mkstemp() need explicit call to unlink()
- Unobfuscate fallback if both O_TMPFILE and mksotemp() are N/A
- O_TMPFILE (Linux-only) appeared after O_CLOEXEC, no need to check

PR:		217676 (for tracking)
MFH:		2017Q3 2017Q2
2017-07-04 13:47:46 +00:00

20 lines
341 B
Makefile

# $FreeBSD$
PORTNAME= libxshmfence
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
COMMENT= Shared memory 'SyncFence' synchronization primitive
LICENSE= MIT
USE_XORG= xproto
XORG_CAT= lib
CONFIGURE_ARGS= --with-shared-memory-dir=/tmp
INSTALL_TARGET= install-strip
TEST_TARGET= check
.include <bsd.port.mk>