pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security Expose the gpg binary gpgme is build against ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/faaa450a9c98
branches:  trunk
changeset: 569023:faaa450a9c98
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 04 15:09:44 2010 +0000

description:
Expose the gpg binary gpgme is build against and use that in security/gpa.

diffstat:

 security/gpa/Makefile        |   4 +++-
 security/gpgme/buildlink3.mk |  12 +++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 495bb5620184 -r faaa450a9c98 security/gpa/Makefile
--- a/security/gpa/Makefile     Sun Jan 03 23:42:44 2010 +0000
+++ b/security/gpa/Makefile     Mon Jan 04 15:09:44 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2009/08/26 19:58:15 sno Exp $
+# $NetBSD: Makefile,v 1.25 2010/01/04 15:09:44 joerg Exp $
 #
 
 DISTNAME=      gpa-0.7.0
@@ -18,6 +18,8 @@
 
 LIBS+=                 ${BUILDLINK_LDADD.getopt}
 
+CONFIGURE_ENV+=                ac_cv_path_GPG=${GPGME_GPG:Q}
+
 .include "../../devel/libgetopt/buildlink3.mk"
 .include "../../security/gpgme/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
diff -r 495bb5620184 -r faaa450a9c98 security/gpgme/buildlink3.mk
--- a/security/gpgme/buildlink3.mk      Sun Jan 03 23:42:44 2010 +0000
+++ b/security/gpgme/buildlink3.mk      Mon Jan 04 15:09:44 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2009/03/20 19:25:17 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2010/01/04 15:09:44 joerg Exp $
 
 BUILDLINK_TREE+=       gpgme
 
@@ -11,6 +11,16 @@
 
 .include "../../security/libgpg-error/buildlink3.mk"
 .include "../../devel/librfuncs/buildlink3.mk"
+
+pkgbase:=              gpgme
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgpgsm)
+GPGME_GPG=             ${PREFIX}/bin/gpg2
+.else
+GPGME_GPG=             ${PREFIX}/bin/gpg
+.endif
+
 .endif # GPGME_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -gpgme



Home | Main Index | Thread Index | Old Index