2014-07-11 13:10:53 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2014/07/11 13:10:53 ajacoutot Exp $
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2013-06-11 10:31:35 +00:00
|
|
|
COMMENT = embeddable common-lisp
|
|
|
|
CATEGORIES = lang
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2012-03-30 09:06:34 +00:00
|
|
|
BROKEN-sparc = infinite loop while building
|
2013-08-07 09:14:38 +00:00
|
|
|
BROKEN-arm = infinite loop while building
|
2012-03-30 09:06:34 +00:00
|
|
|
|
2013-06-11 10:30:54 +00:00
|
|
|
V = 13.5.1
|
2013-06-11 10:31:35 +00:00
|
|
|
DISTNAME = ecl-$V
|
2013-06-11 10:30:54 +00:00
|
|
|
SHARED_LIBS += ecl 3.0
|
|
|
|
SHARED_ONLY = Yes
|
2010-05-13 18:14:17 +00:00
|
|
|
|
2014-07-11 13:10:53 +00:00
|
|
|
REVISION = 1
|
2014-07-11 09:10:27 +00:00
|
|
|
|
2013-06-11 10:31:35 +00:00
|
|
|
HOMEPAGE = http://ecls.sourceforge.net/
|
2009-03-16 11:19:12 +00:00
|
|
|
SUBST_VARS = V
|
2013-06-11 10:30:54 +00:00
|
|
|
EXTRACT_SUFX = .tgz
|
2008-05-06 09:31:25 +00:00
|
|
|
|
|
|
|
# GPLv2 or later
|
2013-06-11 10:31:35 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2010-05-13 18:14:17 +00:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2013-06-11 10:31:35 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
TEST_TARGET = check
|
2011-04-20 15:45:16 +00:00
|
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
2009-03-16 11:19:12 +00:00
|
|
|
ECLLIB_VERSION=${LIBecl_VERSION}
|
2010-12-04 14:36:19 +00:00
|
|
|
FLAVORS = debug
|
|
|
|
FLAVOR ?=
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2013-06-11 10:31:35 +00:00
|
|
|
CONFIGURE_ARGS += --enable-boehm=system \
|
2013-06-11 10:30:54 +00:00
|
|
|
--enable-libatomic=system \
|
|
|
|
--enable-threads=pthreads \
|
2008-05-06 09:31:25 +00:00
|
|
|
--with-system-gmp \
|
2011-06-13 21:04:58 +00:00
|
|
|
--with-gmp-prefix=${LOCALBASE}
|
2013-06-11 10:30:54 +00:00
|
|
|
|
2011-06-13 21:04:58 +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
|
2010-12-04 14:36:19 +00:00
|
|
|
|
2011-12-02 14:36:13 +00:00
|
|
|
.if ${FLAVOR:Mdebug}
|
2010-12-04 14:36:19 +00:00
|
|
|
CONFIGURE_ARGS += --with-debug-cflags=-g
|
|
|
|
.endif
|
2008-05-06 09:31:25 +00:00
|
|
|
|
2010-11-17 08:05:12 +00:00
|
|
|
LIB_DEPENDS += devel/gmp \
|
2014-07-11 13:10:53 +00:00
|
|
|
devel/boehm-gc,-main \
|
|
|
|
devel/boehm-gc,-atomic \
|
2011-04-20 15:45:16 +00:00
|
|
|
devel/libffi
|
|
|
|
|
2014-07-11 13:10:53 +00:00
|
|
|
WANTLIB += atomic_ops c ffi gc gmp m pthread
|
2008-05-06 09:31:25 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|