<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">So this port has different contents depending on whether pinentry-mac or pinentry is installed?</div><div class=""><br class=""></div><div class="">vq</div><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 16, 2014, at 12:14 PM, <a href="mailto:ionic@macports.org" class="">ionic@macports.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="msg" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><dl class="meta" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; border: 1px solid rgb(0, 0, 102); background-color: rgb(51, 102, 153); padding: 6px; color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;"><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Revision</dt><dd class=""><a href="https://trac.macports.org/changeset/128212" style="font-weight: bold; color: rgb(204, 204, 102);" class="">128212</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Author</dt><dd class=""><a href="mailto:ionic@macports.org" style="font-weight: bold; color: rgb(204, 204, 102);" class="">ionic@macports.org</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Date</dt><dd class="">2014-11-16 09:14:29 -0800 (Sun, 16 Nov 2014)</dd></dl><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Log Message</h3><pre style="overflow: auto; background-color: rgb(255, 255, 204); border: 1px solid rgb(255, 170, 0); padding: 6px; background-position: initial initial; background-repeat: initial initial;" class="">gpg-agent: automatically decide whether to use pinentry-mac or pinentry.</pre><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Modified Paths</h3><ul style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><a href="x-msg://12/#trunkdportssecuritygpgagentPortfile" class="">trunk/dports/security/gpg-agent/Portfile</a></li></ul></div><div id="patch" style="width: 713px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Diff</h3><a id="trunkdportssecuritygpgagentPortfile" class=""></a><div class="modfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Modified: trunk/dports/security/gpg-agent/Portfile (128211 =&gt; 128212)</h4><pre class="diff" style="padding: 0px 0px 10px; line-height: 1.2em; margin: 0px; width: 711px; background-color: rgb(238, 238, 238); overflow: auto; background-position: initial initial; background-repeat: initial initial;"><span style="display: block; padding: 0px 10px;" class="">
<span class="info" style="color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;">--- trunk/dports/security/gpg-agent/Portfile        2014-11-16 17:14:25 UTC (rev 128211)
+++ trunk/dports/security/gpg-agent/Portfile        2014-11-16 17:14:29 UTC (rev 128212)
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0px 10px;"> # When updating gpg-agent, update gnupg2 also if applicable.
</span><span class="cx" style="display: block; padding: 0px 10px;"> name                gpg-agent
</span><span class="cx" style="display: block; padding: 0px 10px;"> version             2.0.26
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-revision            1
</del><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+revision            2
</ins><span class="cx" style="display: block; padding: 0px 10px;"> categories          security mail
</span><span class="cx" style="display: block; padding: 0px 10px;"> maintainers         ionic openmaintainer
</span><span class="cx" style="display: block; padding: 0px 10px;"> license             GPL-3+
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -31,8 +31,7 @@
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> set launchd_dir     ${prefix}/etc/${startupitem.location}/${startupitem.uniquename}/
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-configure.args      --enable-agent-only \
-                    --with-pinentry-pgm=${prefix}/bin/pinentry
</del><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+configure.args      --enable-agent-only
</ins><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> # glib fails to find the right stdint.h  It picks clang's internal one rather
</span><span class="cx" style="display: block; padding: 0px 10px;"> # than the system header
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -47,15 +46,38 @@
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:libksba        \
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:libgcrypt      \
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:libgpg-error   \
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-                    port:pth            \
-                    port:pinentry
</del><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+                    port:pth
</ins><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+
</ins><span class="cx" style="display: block; padding: 0px 10px;"> patchfiles          patch-po_Makevars.diff
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> # DO NOT USE. Maintainer-only helper for debugging purposes. DO NOT USE.
</span><span class="cx" style="display: block; padding: 0px 10px;"> #configure.cflags-append -g3 -ggdb3 -gdwarf-2 -O0
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> platform darwin {
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+    # Automatically switch between pinentry and pinentry-mac, with pinentry-mac being
+    # preferred.
+    # 10.6 and below are not supported by pinentry-mac, though, and will default to
+    # pinentry. Just like pure darwin without OS X will.
+    set pinentry            pinentry-mac
+    if {${os.subplatform} ne "macosx" ||
+        ${os.major} &lt; 11 || ([catch "registry_active pinentry"] &amp;&amp;
+                             ![catch "registry_active pinentry-mac"])} {
+        set pinentry        pinentry
+    }
+
+    set pinentry_binary     ""
+
+    if {${pinentry} eq "pinentry"} {
+        set pinentry_binary "${prefix}/bin/${pinentry}"
+    } else {
+        set pinentry_binary "${applications_dir}/${pinentry}.app/Contents/MacOS/${pinentry}"
+    }
+
+    depends_lib-append      port:${pinentry}
+    configure.args-append   --with-pinentry-pgm=${pinentry_binary}
+
+
</ins><span class="cx" style="display: block; padding: 0px 10px;">     patchfiles-append       patch-agent_gpg-agent.c-launchd.diff
</span><span class="cx" style="display: block; padding: 0px 10px;">     configure.cflags-append -F/System/Library/Frameworks/CoreFoundation.framework \
</span><span class="cx" style="display: block; padding: 0px 10px;">                             -D__APPLE_LAUNCHD__
</span></span></pre></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">macports-changes mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:macports-changes@lists.macosforge.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">macports-changes@lists.macosforge.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.macosforge.org/mailman/listinfo/macports-changes" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.macosforge.org/mailman/listinfo/macports-changes</a></div></blockquote></div><br class=""></body></html>