Files
ports/devel/libstdthreads/Makefile
T
claudio d386380199 mtx_t should mirror pthread_mutex_t and be a typedef of
volatile struct pthread_mutex *.
Bump REVISION just to be save.
OK tb@
2025-11-17 19:25:59 +00:00

36 lines
682 B
Makefile

COMMENT = C11 standard threads library
DISTNAME = libstdthreads-${V}
V = 0.3.2
REVISION = 2
CATEGORIES = devel
SITES = https://code.tetaneutral.net/mherrb/libstdthreads//archive/
DISTFILES = ${DISTNAME}-1{${DISTNAME}}.tar.gz
SHARED_LIBS += stdthreads 0.0 # 0.0
WRKDIST = ${WRKDIR}/libstdthreads
# BSD 2-Clause
PERMIT_PACKAGE = Yes
WANTLIB = pthread
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
FAKE_FLAGS = LIBDIR=${TRUEPREFIX}/lib \
MANDIR=${TRUEPREFIX}/man/man
post-install:
cd ${WRKSRC} && ${INSTALL} -c -m 444 -o root -g bin \
threads.h ${PREFIX}/include
DEBUG_PACKAGES = ${BUILD_PACKAGES}
NO_TEST = Yes
.include <bsd.port.mk>