Files
sthen 1b13452762 reset bcallah maintainer lines, quite a lot of timeouts which make it
tricky for others to work on the ports tree, this will also bring more
visible to portroach of those which are outdated
2026-02-11 15:12:24 +00:00

36 lines
619 B
Makefile

COMMENT = small, embeddable JavaScript engine in C
V = 2024.01.13
DISTNAME = quickjs-${V:S/./-/g}
PKGNAME = quickjs-${V}
REVISION = 1
CATEGORIES = lang
HOMEPAGE = https://bellard.org/quickjs/
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread
SITES = https://bellard.org/quickjs/
EXTRACT_SUFX = .tar.xz
# Requires stdatomic
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
USE_GMAKE = Yes
MAKE_FLAGS = CC="${CC}"
# Fix "undefined reference to `__atomic_store_8'"
.if ${MACHINE_ARCH:Mhppa}
WANTLIB += atomic
MAKE_FLAGS += LDFLAGS="${LDFLAGS} -latomic"
.endif
FAKE_FLAGS = DESTDIR=""
.include <bsd.port.mk>