pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gpgme Depend on gnupg when gnupg-devel is not...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a17a96d49ee8
branches:  trunk
changeset: 482821:a17a96d49ee8
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Nov 03 15:35:08 2004 +0000

description:
Depend on gnupg when gnupg-devel is not used.  While here, move inclusion
of bsd.pkg.mk to the end of the file, so that all the code in the Makefile
takes effect.  Bump PKGREVISION to 1 because of the new dependency.

diffstat:

 security/gpgme/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 0193bf11dc8a -r a17a96d49ee8 security/gpgme/Makefile
--- a/security/gpgme/Makefile   Wed Nov 03 15:33:18 2004 +0000
+++ b/security/gpgme/Makefile   Wed Nov 03 15:35:08 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2004/11/02 19:51:58 gavan Exp $
+# $NetBSD: Makefile,v 1.26 2004/11/03 15:35:08 jmmv Exp $
 #
 
 DISTNAME=      gpgme-1.0.1
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ftp://ftp.gnupg.org/gcrypt/gpgme/ \
                ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/
@@ -10,8 +11,6 @@
 HOMEPAGE=      http://www.gnupg.org/gpgme.html
 COMMENT=       GnuPG Made Easy
 
-#DEPENDS+=     gnupg>=1.2.2:../../security/gnupg
-
 USE_BUILDLINK3=                YES
 USE_LIBTOOL=           YES
 GNU_CONFIGURE=         YES
@@ -44,7 +43,6 @@
 .if ${OPSYS} != "SunOS"
 .include "../../devel/librfuncs/buildlink3.mk"
 .endif
-.include "../../mk/bsd.pkg.mk"
 
 ##
 ## Option to build with gpgsm. This provides SMIME support
@@ -53,4 +51,8 @@
 .include "../../security/gnupg-devel/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-gpgsm=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpgsm
 CONFIGURE_ARGS+=       --with-gpg=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpg2
+.else
+DEPENDS+=              gnupg>=1.2.2:../../security/gnupg
 .endif
+
+.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index