blob: 6a1e81c676ae77aac1eb9957a47f6d58c6903dbc (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $NetBSD: options.mk,v 1.5 2005/10/07 10:28:06 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gaim
PKG_SUPPORTED_OPTIONS+= gnutls gtkspell silc audio perl tcl nas
PKG_SUGGESTED_OPTIONS+= gtkspell silc audio
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --disable-nss
CONFIGURE_ARGS+= --with-gnutls-includes=${BUILDLINK_PREFIX.gnutls}/include
CONFIGURE_ARGS+= --with-gnutls-libs=${BUILDLINK_PREFIX.gnutls}/lib
. include "../../security/gnutls/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gnutls
CONFIGURE_ARGS+= --with-nspr-includes=${BUILDLINK_PREFIX.nspr}/include/nspr
CONFIGURE_ARGS+= --with-nspr-libs=${BUILDLINK_PREFIX.nspr}/lib/nspr
CONFIGURE_ARGS+= --with-nss-includes=${BUILDLINK_PREFIX.nss}/include/nss/nss
CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib/nss
. include "../../devel/nss/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgtkspell)
. include "../../textproc/gtkspell/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gtkspell
.endif
.if !empty(PKG_OPTIONS:Msilc)
PLIST_SUBST+= SILC=
CONFIGURE_ARGS+= --with-silc-includes=${BUILDLINK_PREFIX.silc-toolkit}/include/silc
CONFIGURE_ARGS+= --with-silc-libs=${BUILDLINK_PREFIX.silc-toolkit}/lib/silc
. include "../../devel/silc-toolkit/buildlink3.mk"
.else
PLIST_SUBST+= SILC="@comment "
CONFIGURE_ARGS+= --disable-silc
.endif
.if !empty(PKG_OPTIONS:Maudio)
. include "../../audio/libao/buildlink3.mk"
. include "../../audio/libaudiofile/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-audio
.endif
.if !empty(PKG_OPTIONS:Mperl)
USE_TOOLS+= perl:run
. include "../../lang/perl5/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-perl
.endif
.if !empty(PKG_OPTIONS:Mtcl)
CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
. include "../../lang/tcl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-tcl
.endif
.if !empty(PKG_OPTIONS:Mnas)
CONFIGURE_ARGS+= --enable-nas
. include "../../audio/nas/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nas
.endif
|