summaryrefslogtreecommitdiff
path: root/chat/centericq
diff options
context:
space:
mode:
authorsborrill <sborrill>2007-02-20 17:38:52 +0000
committersborrill <sborrill>2007-02-20 17:38:52 +0000
commite5cfab9ce852cd2754f0a92b87739f87f59c6add (patch)
tree0e871fbdb357856bd1bcf9cea9d0c39d4bba2d59 /chat/centericq
parent2bd6fd4aa581670760c0deaed86b5c7336e810a4 (diff)
downloadpkgsrc-e5cfab9ce852cd2754f0a92b87739f87f59c6add.tar.gz
Make gpgme an option (on by default for compatibility with previous).
Diffstat (limited to 'chat/centericq')
-rw-r--r--chat/centericq/Makefile4
-rw-r--r--chat/centericq/options.mk15
2 files changed, 17 insertions, 2 deletions
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