From 5bf96bd92799c20c1b6a17ebfe2baa4172427e10 Mon Sep 17 00:00:00 2001 From: mezz Date: Thu, 18 Sep 2008 16:34:50 +0000 Subject: Make HAL optional, the default stays same (enable). PR: ports/127399 Submitted by: aZ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11537 df743ca5-7f9a-e211-a948-0013205c9059 --- security/gnome-keyring/Makefile | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'security') 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 # # $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 +OPTIONS= HAL "Use HAL for keys on removable drives" on + +.include + +.if !defined(WITHOUT_HAL) +LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal +CONFIGURE_ARGS+=--enable-hal +.else +CONFIGURE_ARGS+=--disable-hal +.endif + +.include -- cgit