summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoryyamano <yyamano>2003-09-17 16:52:10 +0000
committeryyamano <yyamano>2003-09-17 16:52:10 +0000
commit29c5095099cb7ab0e817ebb257e94c58b592182c (patch)
tree4e427f70833f86056203fb303d688b52347d16b1 /lang
parent5dd41227b8e3e8aca81ba0e4b58240db24eccdad (diff)
downloadpkgsrc-29c5095099cb7ab0e817ebb257e94c58b592182c.tar.gz
Make it build on darwin. I forgot to commit this for a long time.
Diffstat (limited to 'lang')
-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"