52 lines
1.1 KiB
Makefile
Raw Normal View History

2013-06-11 10:30:54 +00:00
# $OpenBSD: Makefile,v 1.19 2013/06/11 10:30:54 sthen Exp $
COMMENT = embeddable common-lisp
CATEGORIES = lang
BROKEN-sparc = infinite loop while building
2013-06-11 10:30:54 +00:00
V = 13.5.1
DISTNAME = ecl-$V
2013-06-11 10:30:54 +00:00
SHARED_LIBS += ecl 3.0
SHARED_ONLY = Yes
HOMEPAGE = http://ecls.sourceforge.net/
SUBST_VARS = V
2013-06-11 10:30:54 +00:00
EXTRACT_SUFX = .tgz
# GPLv2 or later
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
CONFIGURE_STYLE = gnu
2013-06-11 10:30:54 +00:00
TEST_TARGET = check
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
ECLLIB_VERSION=${LIBecl_VERSION}
FLAVORS = debug
FLAVOR ?=
CONFIGURE_ARGS += --enable-boehm=system \
2013-06-11 10:30:54 +00:00
--enable-libatomic=system \
--enable-threads=pthreads \
--with-system-gmp \
--with-gmp-prefix=${LOCALBASE}
2013-06-11 10:30:54 +00:00
# etags gets picked up if it's install, and dumps core while
# generating the tags. so override it for now untill etags is fixed.
CONFIGURE_ENV += ETAGS=/usr/bin/true
2011-12-02 14:36:13 +00:00
.if ${FLAVOR:Mdebug}
CONFIGURE_ARGS += --with-debug-cflags=-g
.endif
2013-06-11 10:30:54 +00:00
BUILD_DEPENDS += devel/boehm-gc,-atomic
2010-11-17 08:05:12 +00:00
LIB_DEPENDS += devel/gmp \
devel/boehm-gc \
devel/libffi
WANTLIB += c ffi gc gmp m pthread
.include <bsd.port.mk>