summaryrefslogtreecommitdiff
path: root/lang/gauche/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gauche/Makefile')
-rw-r--r--lang/gauche/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index fdc3e975df8..28b674421b8 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2005/01/16 08:57:55 kei Exp $
+# $NetBSD: Makefile,v 1.29 2005/03/07 03:16:46 uebayasi Exp $
#
DISTNAME= Gauche-0.8.3
-PKGREVISION= # empty
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
@@ -13,6 +13,15 @@ COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
DEPENDS+= slib-[0-9]*:../../devel/slib
+.include "options.mk"
+
+# This is ad-hoc. TRT would be to fix configure scripts, but that
+# would be also very tedious...
+SUBST_CLASSES+= lgdbm
+SUBST_STAGE.lgdbm= pre-configure
+SUBST_FILES.lgdbm= configure
+SUBST_SED.lgdbm= -e 's|"-lgdbm"|"${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gdbm}/lib -lgdbm"|g'
+
GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
CONFIGURE_ARGS+= --with-slib=${PREFIX}/share/slib
@@ -26,11 +35,6 @@ LDFLAGS+= ${BUILDLINK_LIBICONV_LDADD}
USE_MAKEINFO= YES
INFO_FILES= gauche-refe.info gauche-refj.info
-.include "../../mk/bsd.prefs.mk"
-.if defined(GAUCHE_MULTIBYTE)
-CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE}
-.endif
-
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"