summaryrefslogtreecommitdiff
path: root/lang/gauche
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2003-09-17 16:52:10 +0000
committeryyamano <yyamano@pkgsrc.org>2003-09-17 16:52:10 +0000
commit6387cbdfc58b4515d3e32e1b310f101a1a6d8298 (patch)
tree4e427f70833f86056203fb303d688b52347d16b1 /lang/gauche
parente605c154dd7f869a4bdca10089eefcbea3b27d86 (diff)
downloadpkgsrc-6387cbdfc58b4515d3e32e1b310f101a1a6d8298.tar.gz
Make it build on darwin. I forgot to commit this for a long time.
Diffstat (limited to 'lang/gauche')
-rw-r--r--lang/gauche/Makefile7
1 files changed, 5 insertions, 2 deletions
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"