blob: 89841cce70c8ca67d23751b0b68fcece5fc36d41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: options.mk,v 1.3 2005/12/05 23:55:09 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gauche
PKG_SUPPORTED_OPTIONS= gdbm multibyte
PKG_SUGGESTED_OPTIONS= gdbm multibyte
.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.prefs.mk"
###
### GDBM extension. Modules seem to be better tested with GDBM
### than NDBM.
###
.if !empty(PKG_OPTIONS:Mgdbm)
. include "../../databases/gdbm/buildlink3.mk"
PLIST_SUBST+= USE_GDBM=''
.else
PLIST_SUBST+= USE_GDBM='@comment '
.endif
###
### Multibyte extension.
###
.if !empty(PKG_OPTIONS:Mmultibyte) && defined(GAUCHE_MULTIBYTE)
CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE:Q}
.endif
.if defined(PKG_DEVELOPER)
.PHONY: print-multibyte-options
print-multibyte-options:
${SED} -ne '/load "/ { s|^.*load "\([^"]*\)".*$|\1|; p; }' ${WRKSRC}/test/mb-chars.scm
.endif
|