pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-thunar Enable HAL support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/55eff6dcdf41
branches: trunk
changeset: 551172:55eff6dcdf41
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Tue Dec 09 10:36:24 2008 +0000
description:
Enable HAL support.
diffstat:
sysutils/xfce4-thunar/Makefile | 6 ++++--
sysutils/xfce4-thunar/buildlink3.mk | 9 ++++++++-
sysutils/xfce4-thunar/options.mk | 14 ++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
diffs (68 lines):
diff -r 704f336ec536 -r 55eff6dcdf41 sysutils/xfce4-thunar/Makefile
--- a/sysutils/xfce4-thunar/Makefile Tue Dec 09 10:35:20 2008 +0000
+++ b/sysutils/xfce4-thunar/Makefile Tue Dec 09 10:36:24 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/07/14 12:56:13 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/12/09 10:36:24 ahoka Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -8,7 +8,7 @@
DISTNAME= Thunar-${XFCE4_VERSION}
PKGNAME= xfce4-thunar-${XFCE4_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
COMMENT= Xfce file manager
@@ -19,6 +19,8 @@
PKGCONFIG_OVERRIDE+= thunar-vfs/thunar-vfs-1.pc.in
PKGCONFIG_OVERRIDE+= thunarx/thunarx-1.pc.in
+.include "options.mk"
+
.include "../../devel/GConf/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
diff -r 704f336ec536 -r 55eff6dcdf41 sysutils/xfce4-thunar/buildlink3.mk
--- a/sysutils/xfce4-thunar/buildlink3.mk Tue Dec 09 10:35:20 2008 +0000
+++ b/sysutils/xfce4-thunar/buildlink3.mk Tue Dec 09 10:36:24 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2007/12/07 19:43:22 martti Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2008/12/09 10:36:24 ahoka Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_THUNAR_BUILDLINK3_MK:= ${XFCE4_THUNAR_BUILDLINK3_MK}+
@@ -16,6 +16,13 @@
BUILDLINK_PKGSRCDIR.xfce4-thunar?= ../../sysutils/xfce4-thunar
.endif # XFCE4_THUNAR_BUILDLINK3_MK
+pkgbase := xfce4-thunar
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.xfce4-thunar:Mhal)
+.include "../../sysutils/hal/buildlink3.mk"
+.endif
+
.include "../../devel/GConf/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
diff -r 704f336ec536 -r 55eff6dcdf41 sysutils/xfce4-thunar/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-thunar/options.mk Tue Dec 09 10:36:24 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2008/12/09 10:36:24 ahoka Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xfce4-thunar
+PKG_SUPPORTED_OPTIONS= hal
+PKG_SUGGESTED_OPTIONS= hal
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mhal)
+.include "../../sysutils/hal/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-hal
+.else
+CONFIGURE_ARGS+= --disable-hal
+.endif
Home |
Main Index |
Thread Index |
Old Index