Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.15 2017/03/07 21:21:20 pascal Exp $
  2. ONLY_FOR_ARCHS = amd64 arm i386 mips64 mips64el powerpc sparc64
  3. BROKEN-arm = missing atomic ops (both AO_* and gcc builtin)
  4. BROKEN-sparc64 = undefined reference to `AO_fetch_compare_and_swap_full'
  5. COMMENT = virtual machine for nqp/rakudo
  6. V = 2017.02
  7. DISTNAME = MoarVM-$V
  8. PKGNAME = moarvm-$V
  9. SHARED_LIBS = moar 7.0
  10. CATEGORIES = lang
  11. HOMEPAGE = http://moarvm.org/
  12. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  13. # Artistic2
  14. PERMIT_PACKAGE_CDROM = Yes
  15. WANTLIB = atomic_ops c ffi kvm m pthread
  16. MASTER_SITES = http://moarvm.org/releases/
  17. BUILD_DEPENDS = math/libtommath
  18. LIB_DEPENDS = devel/libffi \
  19. devel/boehm-gc,-atomic
  20. MAKE_FLAGS = NOISY=1
  21. CONFIGURE_STYLE = simple
  22. CONFIGURE_SCRIPT = /usr/bin/perl Configure.pl
  23. CONFIGURE_ARGS += --cc="${CC}" --ld="${CC}" \
  24. --prefix="${PREFIX}" \
  25. --has-libtommath \
  26. --has-libffi \
  27. --has-libatomic_ops
  28. CONFIGURE_ENV = SO_VERSION="${LIBmoar_VERSION}" \
  29. CFLAGS="-I${LOCALBASE}/include"
  30. NO_TEST = Yes
  31. .include <bsd.port.mk>