openbsd-ports/lang/clisp/Makefile
joshe 128680d7d9 Build on sparc64.
ok jasper@
2010-09-23 13:42:22 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2010/09/23 13:42:22 joshe Exp $
ONLY_FOR_ARCHS = amd64 i386 powerpc sparc64
COMMENT = ANSI Common Lisp implementation
DISTNAME= clisp-2.48
REVISION = 1
CATEGORIES= lang
HOMEPAGE= http://clisp.cons.org/
MAINTAINER = Joshua Elsasser <joshe@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext
LIB_DEPENDS = ::devel/libsigsegv \
:ffcall->=1.10p1:devel/ffcall
WANTLIB = avcall c callback m ncurses readline sigsegv
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
EXTRACT_SUFX= .tar.bz2
USE_GMAKE= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu old
CONFIGURE_ARGS= --fsstnd=openbsd \
--with-gmalloc \
--disable-mmap \
--with-gettext \
--mandir=${PREFIX}/man \
--docdir=${PREFIX}/share/doc/clisp \
--elispdir=${PREFIX}/share/emacs/site-lisp \
--vimdir=${PREFIX}/share/doc/clisp \
--srcdir=${WRKSRC} ${WRKBUILD}
CONFIGURE_ENV = ac_cv_prog_DVIPDF=''
.if ${MACHINE_ARCH} == "sparc64"
CFLAGS += -DSAFETY=2 -DNO_ASM -mcmodel=medany
.endif
.include <bsd.port.mk>