blob: acd12f88b95e99edeef572931403a125ec61224e (
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
|
# $NetBSD: options.mk,v 1.4 2008/12/21 11:37:15 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.epiphany
PKG_SUPPORTED_OPTIONS= avahi enchant
PKG_OPTIONS_OPTIONAL_GROUPS= engine
PKG_OPTIONS_GROUP.engine= firefox webkit
PKG_SUGGESTED_OPTIONS= avahi enchant firefox
PLIST_VARS= gecko
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavahi)
CONFIGURE_ARGS+= --enable-zeroconf
.include "../../net/avahi/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-zeroconf
.endif
.if !empty(PKG_OPTIONS:Menchant)
CONFIGURE_ARGS+= --enable-spell-checker
.include "../../textproc/enchant/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mfirefox)
CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
CFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
CFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
CFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
# XXX the configure check doesn't work
CONFIGURE_ENV+= ac_cv_header_nsIBadCertListener_h=yes
CONFIGURE_ARGS+= --with-engine=mozilla
CONFIGURE_ARGS+= --with-gecko=firefox
PLIST.gecko= yes
.include "../../www/firefox/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mwebkit)
CONFIGURE_ARGS+= --with-engine=webkit
.include "../../www/webkit-gtk/buildlink3.mk"
.endif
|