2017-12-21 14:30:40 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.30 2017/12/21 13:30:40 ryoon Exp $
|
2004-02-11 03:30:49 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= gpgme
|
2004-02-11 03:30:49 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(GPGME_BUILDLINK3_MK)
|
|
|
|
GPGME_BUILDLINK3_MK:=
|
2004-02-11 03:30:49 +01:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gpgme+= gpgme>=0.9.0
|
2017-08-01 13:48:20 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.gpgme+= gpgme>=1.8.0nb1
|
2004-03-05 20:25:06 +01:00
|
|
|
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"
|
2010-01-04 16:09:44 +01:00
|
|
|
|
|
|
|
pkgbase:= gpgme
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
|
2017-08-29 14:11:35 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
|
2017-12-21 14:30:40 +01:00
|
|
|
DEPENDS+= gnupg2>=2.2.0:../../security/gnupg2
|
2010-01-04 16:09:44 +01:00
|
|
|
GPGME_GPG= ${PREFIX}/bin/gpg2
|
|
|
|
.else
|
2015-10-31 18:46:12 +01:00
|
|
|
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
|
2010-01-04 16:09:44 +01:00
|
|
|
GPGME_GPG= ${PREFIX}/bin/gpg
|
|
|
|
.endif
|
2017-03-17 09:48:30 +01:00
|
|
|
.if ${GNU_CONFIGURE:U""} == "yes"
|
2015-10-31 19:17:11 +01:00
|
|
|
CONFIGURE_ARGS+= ac_cv_path_GNUPG=${GPGME_GPG}
|
2017-03-17 09:48:30 +01:00
|
|
|
.endif
|
2010-01-04 16:09:44 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # GPGME_BUILDLINK3_MK
|
2004-02-11 03:30:49 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -gpgme
|