2005-08-31 14:12:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.45 2005/08/31 12:12:32 drochner Exp $
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2005-05-02 19:42:06 +02:00
|
|
|
DISTNAME= clisp-2.33.2
|
2005-08-03 22:46:16 +02:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
|
2005-04-05 13:52:15 +02:00
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
2005-04-05 14:42:44 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 *-*-x86_64 # severe LP64 problems
|
1998-09-06 22:45:35 +02:00
|
|
|
|
2004-05-18 13:46:53 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
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
|
2003-07-13 16:34:48 +02:00
|
|
|
USE_GNU_READLINE= YES
|
2005-08-31 14:12:32 +02:00
|
|
|
MODULES= --with-module=syscalls --with-module=regexp
|
|
|
|
MODULES+= --with-module=pcre --with-module=wildcard
|
2003-07-13 16:34:48 +02:00
|
|
|
|
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} \
|
2005-08-31 14:12:32 +02:00
|
|
|
--prefix=${PREFIX} ${MODULES}) && \
|
2005-06-17 06:49:45 +02:00
|
|
|
./makemake --prefix=${PREFIX} --with-readline --with-gettext \
|
2005-08-31 14:12:32 +02:00
|
|
|
--with-dynamic-ffi --fsstnd=netbsd ${MODULES} >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
|
|
|
|
2004-07-28 18:04:21 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2004-05-02 06:59:23 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
2005-08-03 22:46:16 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2003-07-13 16:34:48 +02:00
|
|
|
|
1998-09-06 22:45:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|