pkgsrc/lang/clisp/Makefile
2003-07-17 21:41:05 +00:00

51 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2003/07/17 21:44:08 grant Exp $
DISTNAME= clisp-2.30
WRKSRC= ${WRKDIR}/${DISTNAME}/src
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= mjl@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP, a Common Lisp implementation
NOT_FOR_PLATFORM= *-*-alpha # severe LP64 problems
USE_BUILDLINK2= YES
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
LIBTOOL_OVERRIDE= ${WRKSRC}/avcall/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/callback/vacall_r/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/callback/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/callback/trampoline_r/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libiconv/libcharset/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libiconv/libtool ${WRKSRC}/sigsegv/libtool
USE_GNU_READLINE= YES
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}) && \
./makemake --prefix=${LOCALBASE} --with-readline --with-gettext \
--with-dynamic-ffi --fsstnd=netbsd >Makefile
pre-build:
cd ${WRKSRC}/avcall && ${MAKE}
cd ${WRKSRC}/callback && ${MAKE}
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"