pkgsrc/security/gpgme/buildlink3.mk

32 lines
802 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.30 2017/12/21 13:30:40 ryoon Exp $
2004-02-11 03:30:49 +01:00
BUILDLINK_TREE+= gpgme
2004-02-11 03:30:49 +01:00
.if !defined(GPGME_BUILDLINK3_MK)
GPGME_BUILDLINK3_MK:=
2004-02-11 03:30:49 +01:00
BUILDLINK_API_DEPENDS.gpgme+= gpgme>=0.9.0
BUILDLINK_ABI_DEPENDS.gpgme+= gpgme>=1.8.0nb1
BUILDLINK_PKGSRCDIR.gpgme?= ../../security/gpgme
2004-02-11 03:30:49 +01:00
2011-03-05 12:49:12 +01:00
.include "../../security/libassuan2/buildlink3.mk"
.include "../../security/libgpg-error/buildlink3.mk"
pkgbase:= gpgme
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
DEPENDS+= gnupg2>=2.2.0:../../security/gnupg2
GPGME_GPG= ${PREFIX}/bin/gpg2
.else
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
GPGME_GPG= ${PREFIX}/bin/gpg
.endif
.if ${GNU_CONFIGURE:U""} == "yes"
CONFIGURE_ARGS+= ac_cv_path_GNUPG=${GPGME_GPG}
.endif
.endif # GPGME_BUILDLINK3_MK
2004-02-11 03:30:49 +01:00
BUILDLINK_TREE+= -gpgme