Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.34 2017/02/21 09:08:22 jca Exp $
  2. COMMENT = embeddable common-lisp
  3. CATEGORIES = lang
  4. BROKEN-mips64 = ecl_min fails
  5. V = 16.1.3
  6. DISTNAME = ecl-$V
  7. SHARED_LIBS += ecl 6.0
  8. REVISION = 0
  9. HOMEPAGE = https://common-lisp.net/project/ecl/
  10. MAINTAINER = Timo Myyra <timo.myyra@wickedbsd.net>
  11. SUBST_VARS = V
  12. EXTRACT_SUFX = .tgz
  13. # GPLv2 or later
  14. PERMIT_PACKAGE_CDROM = Yes
  15. MASTER_SITES = ${HOMEPAGE}static/files/release/
  16. USE_GMAKE = Yes
  17. CONFIGURE_STYLE = gnu
  18. TEST_TARGET = check
  19. CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
  20. ECLLIB_VERSION=${LIBecl_VERSION} \
  21. ecldir=${LOCALBASE}/lib/ecl
  22. CONFIGURE_ARGS += --enable-boehm=system \
  23. --enable-libatomic=system \
  24. --with-system-gmp \
  25. --with-gmp-prefix=${LOCALBASE}
  26. # etags gets picked up if it's installed, and dumps core while
  27. # generating the tags. so override it for now untill etags is fixed.
  28. CONFIGURE_ENV += ETAGS=/usr/bin/true
  29. WANTLIB += atomic_ops c ffi gc gmp m pthread
  30. LIB_DEPENDS += devel/gmp \
  31. devel/boehm-gc,-main \
  32. devel/boehm-gc,-atomic \
  33. devel/libffi
  34. TEST_DEPENDS = ${BASE_PKGPATH}
  35. # XXX: Workaround for missing Copyright file
  36. post-configure:
  37. @cp ${WRKSRC}/{LICENSE,Copyright}
  38. .include <bsd.port.mk>