aboutsummaryrefslogtreecommitdiff
path: root/devel/gnome-vfs
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-08-02 21:29:04 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-08-02 21:29:04 +0000
commit5b6b3db75abc01847f849399ade6dc3a2499e4e2 (patch)
tree98b62a210e6ce3c17e8d7690bbbe39483e9d0547 /devel/gnome-vfs
parentba69431fe048f2c2debe8afa099926602f0f05c9 (diff)
downloadports-5b6b3db75abc01847f849399ade6dc3a2499e4e2.tar.gz
ports-5b6b3db75abc01847f849399ade6dc3a2499e4e2.zip
Notes
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r--devel/gnome-vfs/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index d40d6deef01b..71376861d658 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -20,7 +20,6 @@ USE_BZIP2= yes
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal
RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
USE_GMAKE= yes
@@ -33,7 +32,6 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-openssl \
--disable-gnutls \
--disable-howl \
- --enable-hal \
--with-hal-mount=/sbin/mount \
--with-hal-umount=/sbin/umount
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DPTHREAD_LIB=\"${PTHREAD_LIBS}\""
@@ -47,7 +45,8 @@ GCONF_SCHEMAS= desktop_default_applications.schemas \
system_http_proxy.schemas system_smb.schemas
OPTIONS= SAMBA "Enable SMB volume support" on \
- MDNS "Enable Bonjour/Rendezvous support" on
+ MDNS "Enable Bonjour/Rendezvous support" on \
+ HAL "Enable HAL support" on
.include <bsd.port.pre.mk>
@@ -59,6 +58,13 @@ USE_FAM= yes
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
.endif
+.if !defined(WITHOUT_HAL)
+CONFIGURE_ARGS+=--enable-hal
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+.else
+CONFIGURE_ARGS+=--disable-hal
+.endif
+
.if !defined(WITHOUT_SAMBA)
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
PLIST_SUB+= SAMBA=""