make it build on amd64. ok naddy@
This commit is contained in:
parent
9dde258be9
commit
5acddb0235
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.30 2008/06/03 13:54:18 okan Exp $
|
||||
# $OpenBSD: Makefile,v 1.31 2009/03/05 23:44:38 martynas Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
COMMENT= ANSI Common Lisp compiler
|
||||
|
||||
DISTNAME= clisp-2.43
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= lang
|
||||
HOMEPAGE= http://clisp.cons.org/
|
||||
|
||||
@ -27,6 +27,16 @@ USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE=gnu old
|
||||
CONFIGURE_ARGS= --with-gmalloc \
|
||||
--srcdir=${WRKSRC} ${WRKBUILD}
|
||||
MAKEMAKE_ARGS= --fsstnd=openbsd \
|
||||
--prefix=${PREFIX} \
|
||||
--with-dynamic-ffi \
|
||||
--with-gmalloc \
|
||||
--mandir=${PREFIX}/man \
|
||||
--vimdir=${PREFIX}/share/doc/clisp \
|
||||
--docdir=${PREFIX}/share/doc/clisp
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
MAKEMAKE_ARGS+= --disable-mmap
|
||||
.endif
|
||||
SEPARATE_BUILD= simple
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ffcall/autoconf
|
||||
USE_GMAKE= Yes
|
||||
@ -34,15 +44,9 @@ MAKE_FLAGS= INSTALL='install -c' \
|
||||
INSTALL_PROGRAM='install -c -s -m 555' \
|
||||
INSTALL_DATA='install -c -m 644'
|
||||
|
||||
|
||||
post-configure:
|
||||
@cd ${WRKBUILD} && ./makemake \
|
||||
--fsstnd=openbsd \
|
||||
--prefix=${PREFIX} \
|
||||
--with-dynamic-ffi \
|
||||
--with-gmalloc \
|
||||
--mandir=${PREFIX}/man \
|
||||
--vimdir=${PREFIX}/share/doc/clisp \
|
||||
--docdir=${PREFIX}/share/doc/clisp >Makefile && \
|
||||
@cd ${WRKBUILD} && ./makemake ${MAKEMAKE_ARGS} >Makefile && \
|
||||
make config.lisp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2008/06/03 13:54:18 okan Exp $
|
||||
bin/clisp
|
||||
@comment $OpenBSD: PLIST,v 1.11 2009/03/05 23:44:38 martynas Exp $
|
||||
@bin bin/clisp
|
||||
lib/clisp/
|
||||
lib/clisp/base/
|
||||
lib/clisp/base/calls.o
|
||||
@ -8,7 +8,7 @@ lib/clisp/base/libavcall.a
|
||||
lib/clisp/base/libcallback.a
|
||||
lib/clisp/base/libnoreadline.a
|
||||
lib/clisp/base/lisp.a
|
||||
lib/clisp/base/lisp.run
|
||||
@bin lib/clisp/base/lisp.run
|
||||
lib/clisp/base/lispinit.mem
|
||||
lib/clisp/base/localcharset.o
|
||||
lib/clisp/base/makevars
|
||||
@ -31,7 +31,7 @@ lib/clisp/full/libavcall.a
|
||||
lib/clisp/full/libcallback.a
|
||||
lib/clisp/full/libnoreadline.a
|
||||
lib/clisp/full/lisp.a
|
||||
lib/clisp/full/lisp.run
|
||||
@bin lib/clisp/full/lisp.run
|
||||
lib/clisp/full/lispinit.mem
|
||||
lib/clisp/full/localcharset.o
|
||||
lib/clisp/full/makevars
|
||||
|
Loading…
Reference in New Issue
Block a user