diff options
Diffstat (limited to 'security/gpgme')
-rw-r--r-- | security/gpgme/buildlink3.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/security/gpgme/buildlink3.mk b/security/gpgme/buildlink3.mk index 2cb25aefc85..1efc32e1302 100644 --- a/security/gpgme/buildlink3.mk +++ b/security/gpgme/buildlink3.mk @@ -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 @@ BUILDLINK_PKGSRCDIR.gpgme?= ../../security/gpgme .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 |