57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2012/03/30 09:06:34 phessler Exp $
|
|
|
|
COMMENT = embeddable common-lisp
|
|
CATEGORIES = lang
|
|
|
|
BROKEN-sparc = infinite loop while building
|
|
|
|
V = 11.1.1
|
|
DISTNAME = ecl-$V
|
|
REVISION= 0
|
|
SHARED_LIBS += ecl 2.0
|
|
|
|
HOMEPAGE = http://ecls.sourceforge.net/
|
|
SUBST_VARS = V
|
|
|
|
# GPLv2 or later
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
USE_GMAKE = Yes
|
|
USE_LIBTOOL = Yes
|
|
USE_GROFF = Yes
|
|
NO_REGRESS = Yes
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
|
ECLLIB_VERSION=${LIBecl_VERSION}
|
|
FLAVORS = debug
|
|
FLAVOR ?=
|
|
|
|
CONFIGURE_ARGS += --enable-boehm=system \
|
|
--with-system-gmp \
|
|
--with-gmp-prefix=${LOCALBASE}
|
|
# 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
|
|
|
|
.if ${FLAVOR:Mdebug}
|
|
CONFIGURE_ARGS += --with-debug-cflags=-g
|
|
.endif
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKDIST} \
|
|
${WRKDIST}/src \
|
|
${WRKDIST}/src/gc \
|
|
${WRKDIST}/src/gmp
|
|
|
|
LIB_DEPENDS += devel/gmp \
|
|
devel/boehm-gc \
|
|
devel/libffi
|
|
|
|
WANTLIB += c ffi gc gmp m pthread
|
|
|
|
.include <bsd.port.mk>
|