pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/centericq Make gpgme an option (on by default for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b85eb3ff7a5
branches:  trunk
changeset: 525651:0b85eb3ff7a5
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Tue Feb 20 17:38:52 2007 +0000

description:
Make gpgme an option (on by default for compatibility with previous).

diffstat:

 chat/centericq/Makefile   |   4 ++--
 chat/centericq/options.mk |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 271c0f43f01a -r 0b85eb3ff7a5 chat/centericq/Makefile
--- a/chat/centericq/Makefile   Tue Feb 20 17:30:18 2007 +0000
+++ b/chat/centericq/Makefile   Tue Feb 20 17:38:52 2007 +0000
@@ -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.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 @@
 .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 -r 271c0f43f01a -r 0b85eb3ff7a5 chat/centericq/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centericq/options.mk Tue Feb 20 17:38:52 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index