a56c46e841
Fixes build failure with installed gpgme but disabled gpgme option reported by PR 39267.
17 lines
504 B
Makefile
17 lines
504 B
Makefile
# $NetBSD: options.mk,v 1.2 2008/08/02 05:39:20 obache Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.centerim
|
|
PKG_SUPPORTED_OPTIONS= gpgme
|
|
PKG_SUGGESTED_OPTIONS= gpgme
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mgpgme)
|
|
#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme}
|
|
#CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme:Q}/bin/gpgme-config
|
|
. include "../../security/gpgme/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gpgme-prefix
|
|
CONFIGURE_ENV+= ac_cv_path_GPGME_CONFIG=
|
|
.endif
|