[152935] trunk/dports/mail/neomutt/Portfile

cal at macports.org cal at macports.org
Tue Sep 20 15:58:31 PDT 2016


Revision: 152935
          https://trac.macports.org/changeset/152935
Author:   cal at macports.org
Date:     2016-09-20 15:58:31 -0700 (Tue, 20 Sep 2016)
Log Message:
-----------
neomutt: Disable opportunistic linking, maintainer

Closes: #52291

Modified Paths:
--------------
    trunk/dports/mail/neomutt/Portfile

Modified: trunk/dports/mail/neomutt/Portfile
===================================================================
--- trunk/dports/mail/neomutt/Portfile	2016-09-20 22:43:08 UTC (rev 152934)
+++ trunk/dports/mail/neomutt/Portfile	2016-09-20 22:58:31 UTC (rev 152935)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        neomutt neomutt 20160916 neomutt-
+revision            1
 categories          mail
 platforms           darwin
 license             GPL-2
@@ -31,12 +32,31 @@
 checksums           rmd160  976fe21be5ceebce5189bad4a87cff752ec900e9 \
                     sha256  99e62e8b95125289c5d19df30127037276170dc50c98bbc711e2689366896b1e
 
-configure.args      --disable-warnings \
+configure.args      --disable-compressed \
+                    --disable-debug \
+                    --disable-gpgme \
+                    --disable-hcache \
+                    --disable-imap \
+                    --disable-nntp \
+                    --disable-pop \
+                    --disable-sidebar \
+                    --disable-silent-rules \
+                    --disable-smtp \
+                    --disable-warnings \
                     --mandir=${prefix}/share/man \
                     --with-docdir=${prefix}/share/doc/mutt \
                     --with-libiconv-prefix=${prefix} \
                     --with-curses=${prefix} \
-                    --disable-silent-rules
+                    --without-bdb \
+                    --without-gdbm \
+                    --without-gnutls \
+                    --without-gss \
+                    --without-idn \
+                    --without-qdbm \
+                    --without-regex \
+                    --without-sasl \
+                    --without-ssl \
+                    --without-tokyocabinet
 
 default_variants    +idn +imap +pop +ssl
 
@@ -50,81 +70,69 @@
     # delete horribly outdated ca bundle, I hope people weren't using that!
     delete ${destroot}${prefix}/share/doc/mutt/samples/ca-bundle.crt
 }
-
 variant compress description {Compressed folders} {
-    configure.args-append   --enable-compressed
+    configure.args-replace      --disable-compressed --enable-compressed
 }
 variant db4 conflicts qdbm gdbm tokyocabinet description {Use Berkeley DB database} {
-    depends_lib-append          port:db44
-    configure.args-append       --with-bdb=${prefix} \
-                                --without-qdbm \
-                                --without-gdbm \
-                                --without-tokyocabinet
+    configure.args-replace      --without-bdb --with-bdb=${prefix}
     configure.cppflags-append   "-I${prefix}/include/db44"
     configure.ldflags-append    "-L${prefix}/lib/db44"
+    depends_lib-append          port:db44
 }
 variant debug description {Debugging support} {
-    configure.args-append   --enable-debug
+    configure.args-append       --enable-debug
 }
 variant gdbm conflicts db4 qdbm tokyocabinet description {Use GNU dbm database} {
-    depends_lib-append      port:gdbm
-    configure.args-append   --with-gdbm \
-                            --without-bdb \
-                            --without-qdbm \
-                            --without-tokyocabinet
+    configure.args-replace      --without-gdbm --with-gdbm=${prefix}
+    depends_lib-append          port:gdbm
 }
 variant gnuregex description {Use the GNU regular expression library} {
-    configure.args-append   --with-regex
+    configure.args-replace      --without-regex -with-regex=${prefix}
+    depends_lib-append          port:gnuregex
 }
 variant gpgme description {Enable GPGME crypto support} {
-    configure.args-append   --enable-gpgme \
-                            --with-gpgme-prefix=${prefix}
-    depends_lib-append      port:gpgme
+    configure.args-replace      --disable-gpgme --enable-gpgme
+    configure.args-append       --with-gpgme-prefix=${prefix}
+    depends_lib-append          port:gpgme
 }
 variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} {
-    configure.args-append       --enable-hcache
+    configure.args-replace      --disable-hcache --enable-hcache
     configure.ldflags-append    "-L/usr/lib"
 }
 variant idn description {Internationalized Domain Name support} {
-    configure.args-append   --with-idn=${prefix}
-    depends_lib-append      port:libidn port:zlib
+    configure.args-replace      --without-idn --with-idn=${prefix}
+    depends_lib-append          port:libidn port:zlib
 }
 variant imap description {IMAP support} {
-    configure.args-append   --enable-imap
+    configure.args-replace      --disable-imap --enable-imap
 }
 variant nntp description {NNTP support} {
-    configure.args-append   --enable-nntp
+    configure.args-replace      --disable-nntp --enable-nntp
 }
 variant pop description {POP support} {
-    configure.args-append   --enable-pop
+    configure.args-replace      --disable-pop --enable-pop
 }
 variant qdbm conflicts db4 gdbm tokyocabinet description {Use QDBM database} {
-    depends_lib-append      port:qdbm
-    configure.args-append   --with-qdbm \
-                            --without-bdb \
-                            --without-gdbm \
-                            --without-tokyocabinet
+    configure.args-replace      --without-qdbm --with-qdbm=${prefix}
+    depends_lib-append          port:qdbm
 }
 variant sasl description {Simple Authentication and Security Layer support} {
-    configure.args-append   --with-sasl=${prefix}
-    depends_lib-append      port:cyrus-sasl2
+    configure.args-replace      --without-sasl --with-sasl=${prefix}
+    depends_lib-append          port:cyrus-sasl2
 }
 variant sidebar description {Add a sidebar with a list of folders} {
-    configure.args-append   --enable-sidebar
+    configure.args-replace      --disable-sidebar --enable-sidebar
 }
 variant smtp description {Include internal SMTP relay support} {
-    configure.args-append   --enable-smtp
+    configure.args-replace      --disable-smtp --enable-smtp
 }
 variant ssl description {Secure Sockets Layer support} {
-    configure.args-append   --with-ssl=${prefix}
-    depends_lib-append      path:lib/libssl.dylib:openssl
+    configure.args-replace      --without-ssl --with-ssl=${prefix}
+    depends_lib-append          path:lib/libssl.dylib:openssl
 }
 variant tokyocabinet conflicts db4 gdbm qdbm description {Use Tokyo Cabinet database} {
-    depends_lib-append      port:tokyocabinet
-    configure.args-append   --with-tokyocabinet \
-                            --without-bdb \
-                            --without-gdbm \
-                            --without-qdbm
+    configure.args-replace      --without-tokyocabinet --with-tokyocabinet=${prefix}
+    depends_lib-append          port:tokyocabinet
 }
 
 notes "This port does not install the pgpring binary. Please install the signing-party port if you need it."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160920/ae5fdbc7/attachment-0001.html>


More information about the macports-changes mailing list