summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-19 00:34:50 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-19 00:34:50 +0800
commit5bf96bd92799c20c1b6a17ebfe2baa4172427e10 (patch)
tree506da969d5cf1e3b2c58678388a545cbeebb1151 /security
parent8b18cc14f3596cf57ed9433d2415d89271c2a33c (diff)
downloadmarcuscom-ports-5bf96bd92799c20c1b6a17ebfe2baa4172427e10.tar.gz
marcuscom-ports-5bf96bd92799c20c1b6a17ebfe2baa4172427e10.tar.zst
marcuscom-ports-5bf96bd92799c20c1b6a17ebfe2baa4172427e10.zip
Make HAL optional, the default stays same (enable).
PR: ports/127399 Submitted by: aZ <az@antisupport.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11537 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
-rw-r--r--security/gnome-keyring/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile
index fbdc3b286..cbf68a0fc 100644
--- a/security/gnome-keyring/Makefile
+++ b/security/gnome-keyring/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/security/gnome-keyring/Makefile,v 1.65 2008/09/03 21:08:03 kwm Exp $
+# $MCom: ports/security/gnome-keyring/Makefile,v 1.66 2008/09/08 11:53:17 kwm Exp $
#
PORTNAME= gnome-keyring
@@ -15,8 +15,7 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A program that keeps passwords and other secrets
-LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \
- tasn1.3:${PORTSDIR}/security/libtasn1 \
+LIB_DEPENDS= tasn1.3:${PORTSDIR}/security/libtasn1 \
gcrypt.15:${PORTSDIR}/security/libgcrypt
USE_BZIP2= yes
@@ -30,4 +29,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= gnome-keyring.schemas
-.include <bsd.port.mk>
+OPTIONS= HAL "Use HAL for keys on removable drives" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_HAL)
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+CONFIGURE_ARGS+=--enable-hal
+.else
+CONFIGURE_ARGS+=--disable-hal
+.endif
+
+.include <bsd.port.post.mk>