Sat Aug 2 05:39:20 2008 UTC ()
Suppress gpgme-config detection when gpgme option is off.
Fixes build failure with installed gpgme but disabled gpgme option
reported by PR 39267.


(obache)
diff -r1.1.1.1 -r1.2 pkgsrc/chat/centerim/options.mk

cvs diff -r1.1.1.1 -r1.2 pkgsrc/chat/centerim/options.mk (expand / switch to unified diff)

--- pkgsrc/chat/centerim/options.mk 2007/08/30 00:47:01 1.1.1.1
+++ pkgsrc/chat/centerim/options.mk 2008/08/02 05:39:20 1.2
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: options.mk,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $ 1# $NetBSD: options.mk,v 1.2 2008/08/02 05:39:20 obache Exp $
2# 2#
3 3
4PKG_OPTIONS_VAR= PKG_OPTIONS.centerim 4PKG_OPTIONS_VAR= PKG_OPTIONS.centerim
5PKG_SUPPORTED_OPTIONS= gpgme 5PKG_SUPPORTED_OPTIONS= gpgme
6PKG_SUGGESTED_OPTIONS= gpgme 6PKG_SUGGESTED_OPTIONS= gpgme
7 7
8.include "../../mk/bsd.options.mk" 8.include "../../mk/bsd.options.mk"
9 9
10.if !empty(PKG_OPTIONS:Mgpgme) 10.if !empty(PKG_OPTIONS:Mgpgme)
11#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme} 11#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme}
12#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme:Q}/bin/gpgme-config 12#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme:Q}/bin/gpgme-config
13. include "../../security/gpgme/buildlink3.mk" 13. include "../../security/gpgme/buildlink3.mk"
14.else 14.else
15CONFIGURE_ARGS+= --without-gpgme 15CONFIGURE_ARGS+= --without-gpgme-prefix
 16CONFIGURE_ENV+= ac_cv_path_GPGME_CONFIG=
16.endif 17.endif