[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnupg linking against libbz2



On Fri 2005.02.18 at 20:21 +0100, Marc Espie wrote:
> On Thu, Feb 17, 2005 at 08:47:03PM -0500, Okan Demirmen wrote:
> > so snapshot packages, at least for i386, have gnupg linked against
> > libbz2, probably because the configure script found bzip2 and decided
> > to use it.
> 
> > this patch disables bzip2 by default, but adds a flavor, if one
> > wishes to have that linkage.
> 
> Nice catch. I don't think the flavor makes much sense in this case,
> I would  expect most people will be happy with bz2 around.
>

ok.

Index: Makefile
===================================================================
RCS file: /open/cvs/ports/security/gnupg/Makefile,v
retrieving revision 1.47
diff -u -r1.47 Makefile
--- Makefile    29 Jan 2005 19:27:18 -0000      1.47
+++ Makefile    18 Feb 2005 22:02:54 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       "GNU privacy guard - a free PGP replacement"
 
-DISTNAME=      gnupg-1.4.0
+DISTNAME=      gnupg-1.4.0p1
 CATEGORIES=    security
 
 MASTER_SITES=  ftp://ftp.gnupg.org/gcrypt/gnupg/ \
@@ -26,6 +26,8 @@
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=               c z
+
+LIB_DEPENDS+=  bzip2-*::archivers/bzip2
 
 MODULES= devel/gettext