mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
1b13452762
tricky for others to work on the ports tree, this will also bring more visible to portroach of those which are outdated
36 lines
619 B
Makefile
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>
|