1 # $NetBSD: options.mk,v 1.1.1.1 2012/03/15 08:58:27 ryoon Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.xulrunner
4 PKG_SUPPORTED_OPTIONS
= debug mozilla-jemalloc gnome pulseaudio
6 PLIST_VARS
+= gnome jemalloc debug
8 .if
${OPSYS} == "Linux" ||
${OPSYS} == "SunOS"
9 PKG_SUGGESTED_OPTIONS
+= mozilla-jemalloc
12 .
include "../../mk/bsd.options.mk"
14 .if
!empty
(PKG_OPTIONS
:Mgnome
)
15 .
include "../../devel/libgnomeui/buildlink3.mk"
16 .
include "../../sysutils/gnome-vfs/buildlink3.mk"
17 .
include "../../sysutils/libnotify/buildlink3.mk"
18 CONFIGURE_ARGS
+= --enable-gnomevfs
--enable-dbus
--enable-gnomeui
19 CONFIGURE_ARGS
+= --enable-libnotify
22 CONFIGURE_ARGS
+= --disable-gnomevfs
--disable-dbus
--disable-gnomeui
23 CONFIGURE_ARGS
+= --disable-libnotify
26 .if
!empty
(PKG_OPTIONS
:Mmozilla-jemalloc
)
28 CONFIGURE_ARGS
+= --enable-jemalloc
30 CONFIGURE_ARGS
+= --disable-jemalloc
33 .if
!empty
(PKG_OPTIONS
:Mdebug
)
34 CONFIGURE_ARGS
+= --enable-debug
--enable-debug-symbols
35 CONFIGURE_ARGS
+= --disable-install-strip
38 CONFIGURE_ARGS
+= --disable-debug
--disable-debug-symbols
39 CONFIGURE_ARGS
+= --enable-install-strip
42 .if
!empty
(PKG_OPTIONS
:Mpulseaudio
)
43 .
include "../../audio/pulseaudio/buildlink3.mk"
44 ALL_ENV
+= PKGSRC_PULSEAUDIO
=1