From e5cfab9ce852cd2754f0a92b87739f87f59c6add Mon Sep 17 00:00:00 2001 From: sborrill Date: Tue, 20 Feb 2007 17:38:52 +0000 Subject: Make gpgme an option (on by default for compatibility with previous). --- chat/centericq/Makefile | 4 ++-- chat/centericq/options.mk | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 chat/centericq/options.mk (limited to 'chat/centericq') diff --git a/chat/centericq/Makefile b/chat/centericq/Makefile index 0e29c469db1..2d08e70a028 100644 --- a/chat/centericq/Makefile +++ b/chat/centericq/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2007/01/07 09:13:48 rillig Exp $ +# $NetBSD: Makefile,v 1.64 2007/02/20 17:38:52 sborrill Exp $ # DISTNAME= centericq-4.21.0 @@ -27,6 +27,7 @@ INCOMPAT_CURSES+= NetBSD-1.[45]*-* NetBSD-1.6-* NetBSD-1.6.[1-9]-* INCOMPAT_CURSES+= NetBSD-1.6_*-* NetBSD-1.6.[1-9]_*-* NetBSD-1.6[A-T]-* INCOMPAT_CURSES+= NetBSD-2.*-* NetBSD-3.*-* # see PR 29060 +.include "options.mk" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" @@ -44,7 +45,6 @@ GCC_REQD+= 3.0 # see PR 29185 .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/ncurses/buildlink3.mk" -.include "../../security/gpgme/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../www/curl/buildlink3.mk" diff --git a/chat/centericq/options.mk b/chat/centericq/options.mk new file mode 100644 index 00000000000..c8b1572e6e7 --- /dev/null +++ b/chat/centericq/options.mk @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1 2007/02/20 17:38:52 sborrill Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.centericq +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}/bin/gpgme-config +. include "../../security/gpgme/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-gpgme +.endif -- cgit v1.2.3