1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # $OpenBSD: Makefile,v 1.48 2017/06/04 21:09:15 kili Exp $
- ONLY_FOR_ARCHS = amd64 i386 powerpc sparc64
- COMMENT = ANSI Common Lisp implementation
- DISTNAME= clisp-2.49
- REVISION = 1
- CATEGORIES= lang
- HOMEPAGE= http://clisp.cons.org/
- # GPLv2
- PERMIT_PACKAGE_CDROM= Yes
- MODULES= devel/gettext
- LIB_DEPENDS = devel/libsigsegv \
- devel/ffcall>=1.10p1
- WANTLIB = avcall c callback m ncurses readline sigsegv
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
- EXTRACT_SUFX= .tar.bz2
- USE_GMAKE= Yes
- SEPARATE_BUILD= Yes
- CONFIGURE_STYLE= gnu old
- CONFIGURE_ARGS= --fsstnd=openbsd \
- --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} \
- --without-dynamic-modules
- CONFIGURE_ENV = ac_cv_prog_DVIPDF='' \
- ac_cv_prog_GROFF='' \
- ac_cv_prog_PS2PDF=''
- .if ${MACHINE_ARCH} == "sparc64"
- CFLAGS += -DSAFETY=2 -DNO_ASM -mcmodel=medany
- .endif
- .if ${MACHINE_ARCH} == "powerpc"
- CONFIGURE_ARGS += --with-gmalloc
- CFLAGS += -fno-pie -nopie
- LDFLAGS += -nopie
- .else
- CONFIGURE_ARGS += --without-gmalloc
- .endif
- pre-build:
- ln -sf ${LOCALBASE}/bin/gmake ${WRKDIR}/bin/make
- .include <bsd.port.mk>
|