From 6973ee7fdc4abb645c0de41a4687357a25a4096b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 13 Nov 2011 22:39:50 +0000 Subject: [PATCH] Unbreak the "card" FLAVOR after the libusb->libusb-compat switch, spotted by naddy@ (thanks). --- security/gnupg/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index 8df22527961..444b857b501 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.78 2010/11/26 07:50:07 espie Exp $ +# $OpenBSD: Makefile,v 1.79 2011/11/13 22:39:50 ajacoutot Exp $ COMMENT= GNU privacy guard - a free PGP replacement DISTNAME= gnupg-1.4.11 CATEGORIES= security +REVISION= 0 # restrict, not compatible with gnupg-2. PKGSPEC = gnupg-<2 @@ -60,8 +61,8 @@ SUPDISTFILES= idea.c.gz:0 .endif .if ${FLAVOR:L:Mcard} -LIB_DEPENDS+= devel/libusb -WANTLIB += usb +LIB_DEPENDS+= devel/libusb-compat +WANTLIB += usb pthread .else CONFIGURE_ARGS+= --disable-card-support --without-libusb .endif