aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-12-03 15:55:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-12-03 15:55:29 +0000
commite2ed329c5eabf151dd53752e21bf590ac3a7efde (patch)
treede513897423e53b69fa14e30a481b86d760dfa07
parentea6a26dfb74cf984ffd0b77c400d6fa5278bcbbd (diff)
downloadports-e2ed329c5eabf151dd53752e21bf590ac3a7efde.tar.gz
ports-e2ed329c5eabf151dd53752e21bf590ac3a7efde.zip
Notes
-rw-r--r--security/gpgme/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 670c5c8b6a0f..6a51a6d66102 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gpgme
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gpgme
@@ -45,8 +46,12 @@ CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg \
BUILD_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \
- --with-gpgsm=${LOCALBASE}/bin/gpgsm \
--with-gpgconf=${LOCALBASE}/bin/gpgconf
+.if exists(${LOCALBASE}/bin/gpgsm)
+CONFIGURE_ARGS+=--with-gpgsm=${LOCALBASE}/bin/gpgsm
+.else
+CONFIGURE_ARGS+=--with-gpgsm=no
+.endif
.endif
.if defined(WITH_PTH)