- Fix build with new XFCE [1]

- While here convert to optionNG

PR:		168613 [1]
Submitted by:	Christian Mangin <christian.mangin@gmail.com>
This commit is contained in:
Martin Wilke 2012-06-04 05:20:06 +00:00
parent 5cfb055655
commit 190f9c279b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298333
2 changed files with 25 additions and 9 deletions

View File

@ -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>

View File

@ -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 ---