diff options
Diffstat (limited to 'sysutils/xfburn')
-rw-r--r-- | sysutils/xfburn/Makefile | 17 | ||||
-rw-r--r-- | sysutils/xfburn/files/patch-xfburn_xfburn-settings.h | 17 |
2 files changed, 25 insertions, 9 deletions
diff --git a/sysutils/xfburn/Makefile b/sysutils/xfburn/Makefile index e85d100a72ce..b531b318d194 100644 --- a/sysutils/xfburn/Makefile +++ b/sysutils/xfburn/Makefile @@ -32,35 +32,34 @@ INSTALLS_ICONS= yes MAN1= xfburn.1 -OPTIONS = DBUS "Enable dbus support" on\ - HAL "Enable hal support" on\ - GSTREAMER "Enable gstreamer for audio support" off +OPTIONS_DEFINE= DBUS HAL GSTREAMER NLS +OPTIONS_DEFAULT= DBUS HAL -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes .else CONFIGURE_ARGS+= --disable-nls .endif -.if defined(WITH_DBUS) +.if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus .else CONFIGURE_ARGS+= --disable-dbus .endif -.if defined(WITH_HAL) +.if ${PORT_OPTIONS:MHAL} LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal .else CONFIGURE_ARGS+= --disable-hal .endif -.if defined(WITH_GSTREAMER) +.if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER= core CONFIGURE_ARGS+= "LDFLAGS=-lgstpbutils-0.10" .else CONFIGURE_ARGS+= --disable-gstreamer .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/xfburn/files/patch-xfburn_xfburn-settings.h b/sysutils/xfburn/files/patch-xfburn_xfburn-settings.h new file mode 100644 index 000000000000..4f7839c1760d --- /dev/null +++ b/sysutils/xfburn/files/patch-xfburn_xfburn-settings.h @@ -0,0 +1,17 @@ +patch attached. + +--- patch-xfburn_xfburn-settings.h begins here --- +--- xfburn/xfburn-settings.h.orig 2009-10-24 17:18:10.000000000 -0400 ++++ xfburn/xfburn-settings.h 2012-06-02 18:19:00.866609000 -0400 +@@ -23,7 +23,7 @@ + #include <config.h> + #endif /* !HAVE_CONFIG_H */ + +-#include <glib.h> ++#include <glib-object.h> + + G_BEGIN_DECLS + +--- patch-xfburn_xfburn-settings.h ends here --- + + |