This is the first release to support LLVM 7.0.1 Changelog: https://github.com/ponylang/ponyc/releases/tag/0.27.0
43 lines
834 B
Makefile
43 lines
834 B
Makefile
# $OpenBSD: Makefile,v 1.5 2019/03/04 04:28:56 bcallah Exp $
|
|
|
|
ONLY_FOR_ARCHS = aarch64 amd64 arm i386
|
|
|
|
COMMENT = actor-model, capabilities-secure, high performance language
|
|
CATEGORIES = lang
|
|
|
|
GH_ACCOUNT = ponylang
|
|
GH_PROJECT = ponyc
|
|
GH_TAGNAME = 0.27.0
|
|
|
|
HOMEPAGE = https://www.ponylang.org/
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
# Also links -lLLVM-7.0
|
|
WANTLIB += ${COMPILER_LIBCXX} c curses execinfo m z
|
|
|
|
# C11, clang only
|
|
COMPILER = base-clang ports-clang
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS} \
|
|
devel/pcre2
|
|
|
|
LIB_DEPENDS = devel/libexecinfo
|
|
|
|
RUN_DEPENDS = devel/llvm>=7.0,<7.1
|
|
|
|
USE_GMAKE = Yes
|
|
MAKE_ENV = verbose=true default_pic=true
|
|
|
|
.if ${MACHINE_ARCH:Marm} || ${MACHINE_ARCH:Mi386}
|
|
MAKE_ENV += bits=32
|
|
.else
|
|
MAKE_ENV += bits=64
|
|
.endif
|
|
|
|
SUBST_VARS += GH_TAGNAME
|
|
|
|
.include <bsd.port.mk>
|