2003-07-17 23:41:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2003/07/17 21:44:08 grant Exp $
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2003-07-13 16:34:48 +02:00
|
|
|
DISTNAME= clisp-2.30
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= lang
|
2002-02-21 05:13:20 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
|
2000-05-27 04:47:13 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= mjl@NetBSD.org
|
2000-06-17 01:53:43 +02:00
|
|
|
HOMEPAGE= http://clisp.cons.org/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= CLISP, a Common Lisp implementation
|
1998-09-06 22:45:35 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha # severe LP64 problems
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2002-10-25 20:40:53 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-12-01 15:49:15 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2003-07-13 16:34:48 +02:00
|
|
|
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
gt_cv_func_gnugettext2_libintl=yes
|
1999-12-18 05:53:17 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2002-01-30 12:15:20 +01:00
|
|
|
UNLIMIT_RESOURCES= stacksize
|
2002-02-21 05:13:20 +01:00
|
|
|
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
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2003-07-13 16:34:48 +02:00
|
|
|
USE_GNU_READLINE= YES
|
|
|
|
|
2002-03-14 08:44:21 +01:00
|
|
|
post-patch:
|
2002-12-01 15:49:15 +01:00
|
|
|
${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
|
2002-03-14 08:44:21 +01:00
|
|
|
|
1998-11-22 20:39:48 +01:00
|
|
|
do-configure:
|
2003-07-13 16:34:48 +02:00
|
|
|
cd ${WRKSRC} && \
|
2002-02-21 05:13:20 +01:00
|
|
|
(cd .. ; ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
${CONFIGURE_SCRIPT} --host=${MACHINE_GNU_PLATFORM} \
|
2003-07-13 16:34:48 +02:00
|
|
|
--prefix=${PREFIX}) && \
|
1998-11-22 20:39:48 +01:00
|
|
|
./makemake --prefix=${LOCALBASE} --with-readline --with-gettext \
|
2002-02-21 05:13:20 +01:00
|
|
|
--with-dynamic-ffi --fsstnd=netbsd >Makefile
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2002-02-21 05:13:20 +01:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/avcall && ${MAKE}
|
|
|
|
cd ${WRKSRC}/callback && ${MAKE}
|
2000-05-27 04:47:13 +02:00
|
|
|
|
2003-07-13 16:34:48 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
2002-10-25 20:40:53 +02:00
|
|
|
.include "../../devel/readline/buildlink2.mk"
|
2003-07-13 16:34:48 +02:00
|
|
|
|
1998-09-06 22:45:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|