2003-05-22 18:48:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/05/22 16:48:29 jmmv Exp $
|
2001-05-31 11:56:58 +02:00
|
|
|
#
|
|
|
|
|
2002-10-02 10:25:13 +02:00
|
|
|
DISTNAME= Gauche-0.6.3
|
2003-05-22 18:48:28 +02:00
|
|
|
PKGREVISION= 2
|
2001-05-31 11:56:58 +02:00
|
|
|
CATEGORIES= lang
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
|
2001-05-31 11:56:58 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= minoura@netbsd.org
|
|
|
|
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
|
|
|
|
COMMENT= R5RS Scheme implementation developed to be a handy script interpreter
|
|
|
|
|
|
|
|
# devel/boehm-gc cannot be used because Gauche requires PIC version
|
2001-09-28 01:17:41 +02:00
|
|
|
#DEPENDS+= boehm-gc-[0-9]*:../../devel/boehm-gc
|
|
|
|
DEPENDS+= slib-[0-9]*:../../devel/slib
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2001-07-15 15:52:28 +02:00
|
|
|
# Due to GC dynamic loading support, this package runs on limited platforms
|
|
|
|
# Plus, it is not LP64-safe
|
2002-02-01 09:10:39 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-mipsel NetBSD-*-powerpc
|
2001-07-15 15:52:28 +02:00
|
|
|
ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-*
|
2002-02-01 09:10:39 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD")
|
|
|
|
. if ${OBJECT_FMT} != "ELF"
|
|
|
|
BROKEN=Test required on NetBSD/i386 a.out
|
|
|
|
. endif
|
|
|
|
.endif
|
2001-05-31 11:56:58 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-10-09 19:38:02 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2003-03-10 03:01:41 +01:00
|
|
|
CONFIGURE_ARGS+= --with-slib=${PREFIX}/share/slib
|
2002-10-09 19:38:02 +02:00
|
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.libiconv} --with-iconv-lib=iconv
|
2002-02-01 09:10:39 +01:00
|
|
|
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
|
2002-10-02 10:25:13 +02:00
|
|
|
|
|
|
|
INFO_FILES= gauche-refe.info gauche-refj.info
|
2001-05-31 11:56:58 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(GAUCHE_MULTIBYTE)
|
|
|
|
CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE}
|
|
|
|
.endif
|
|
|
|
|
2002-10-09 19:38:02 +02:00
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
2002-10-02 10:25:13 +02:00
|
|
|
.include "../../mk/texinfo.mk"
|
2001-05-31 11:56:58 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|