pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mpop mpop: add libidn support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7555a70a743d
branches:  trunk
changeset: 315255:7555a70a743d
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Nov 20 09:29:24 2018 +0000

description:
mpop: add libidn support

>From Leonard Schmidt in PR pkg/48470

diffstat:

 mail/mpop/options.mk |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7f4bacd2a003 -r 7555a70a743d mail/mpop/options.mk
--- a/mail/mpop/options.mk      Tue Nov 20 09:26:26 2018 +0000
+++ b/mail/mpop/options.mk      Tue Nov 20 09:29:24 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2016/06/18 18:55:52 bsiegert Exp $
+# $NetBSD: options.mk,v 1.3 2018/11/20 09:29:24 maya Exp $
 #
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.mpop
-PKG_SUPPORTED_OPTIONS=         gsasl
+PKG_SUPPORTED_OPTIONS=         gsasl idn
 PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
 PKG_OPTIONS_GROUP.ssl=         gnutls ssl
 PKG_SUGGESTED_OPTIONS=         ssl
@@ -23,3 +23,11 @@
 CONFIGURE_ARGS+=       --enable-gsasl
 .  include "../../security/gsasl/buildlink3.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Midn)
+.  include "../../devel/libidn/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libidn
+CONFIGURE_ARGS+=       --with-libidn-prefix=${BUILDLINK_PREFIX.libidn}
+.else
+CONFIGURE_ARGS+=       --without-libidn
+.endif



Home | Main Index | Thread Index | Old Index