pkgsrc-Bugs archive

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

pkg/48470: mail/mpop: add libidn support



>Number:         48470
>Category:       pkg
>Synopsis:       mail/mpop: add libidn support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 23 03:20:00 +0000 2013
>Originator:     Leonard Schmidt
>Release:        pkgsrc-2013Q3
>Organization:
>Environment:
Linux ylajali 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686 AMD 
Athlon(tm) II X4 635 Processor AuthenticAMD GNU/Linux
>Description:
Hello,

this adds libidn support to mail/mpop, a similar package is mail/msmtp.
This is against pkgsrc-2013Q3.

Regards

Leonard Schmidt
>How-To-Repeat:

>Fix:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mpop/options.mk,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 options.mk
--- options.mk  13 Nov 2005 03:09:20 -0000      1.1.1.1
+++ options.mk  23 Dec 2013 03:15:41 -0000
@@ -2,7 +2,7 @@
 #
 
 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+=     --disable-ssl
 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