From 29c5095099cb7ab0e817ebb257e94c58b592182c Mon Sep 17 00:00:00 2001 From: yyamano Date: Wed, 17 Sep 2003 16:52:10 +0000 Subject: Make it build on darwin. I forgot to commit this for a long time. --- lang/gauche/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang/gauche') diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile index 3cb180f71bd..dd46bc5ceb4 100644 --- a/lang/gauche/Makefile +++ b/lang/gauche/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/08/09 10:59:07 seb Exp $ +# $NetBSD: Makefile,v 1.18 2003/09/17 16:52:10 yyamano Exp $ # DISTNAME= Gauche-0.6.3 @@ -18,7 +18,7 @@ DEPENDS+= slib-[0-9]*:../../devel/slib # Due to GC dynamic loading support, this package runs on limited platforms # Plus, it is not LP64-safe ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-mipsel NetBSD-*-powerpc -ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* +ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* Darwin-*-* .include "../../mk/bsd.prefs.mk" .if (${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD") . if ${OBJECT_FMT} != "ELF" @@ -43,6 +43,9 @@ INFO_FILES= gauche-refe.info gauche-refj.info CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE} .endif +.if ${OPSYS} == "Darwin" +. include "../../devel/dlcompat/buildlink2.mk" +.endif .include "../../converters/libiconv/buildlink2.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3