pkgsrc/lang/clisp/Makefile
drochner 912cf81dc7 Don't do tricks to add modules to the Makefile; there are command line
options to do it. From PR misc/31094 by Sam Steingold, as far as
applicable to 2.33.2.
2005-08-31 12:12:32 +00:00

50 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2005/08/31 12:12:32 drochner Exp $
DISTNAME= clisp-2.33.2
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP, a Common Lisp implementation
NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 *-*-x86_64 # severe LP64 problems
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_PKGLOCALEDIR= YES
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
gt_cv_func_gnugettext2_libintl=yes
GNU_CONFIGURE= YES
UNLIMIT_RESOURCES= stacksize
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
MODULES= --with-module=syscalls --with-module=regexp
MODULES+= --with-module=pcre --with-module=wildcard
post-patch:
${CP} files/tramp-rs6000-netbsd.o ${WRKSRC}/../ffcall/callback/trampoline_r
${CP} files/tramp-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/trampoline_r
${CP} files/vacall-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/vacall_r
do-configure:
cd ${WRKSRC} && \
(cd .. ; ${SETENV} ${CONFIGURE_ENV} \
${CONFIGURE_SCRIPT} --host=${MACHINE_GNU_PLATFORM} \
--prefix=${PREFIX} ${MODULES}) && \
./makemake --prefix=${PREFIX} --with-readline --with-gettext \
--with-dynamic-ffi --fsstnd=netbsd ${MODULES} >Makefile
pre-build:
cd ${WRKSRC}/avcall && ${MAKE}
cd ${WRKSRC}/callback && ${MAKE}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"