<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c612f69f76f9baec0f706fc7221e27c000fbd571">https://github.com/macports/macports-ports/commit/c612f69f76f9baec0f706fc7221e27c000fbd571</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c612f69f76f9baec0f706fc7221e27c000fbd571
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sun Mar 10 13:32:03 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> python26: switch to openssl10
</span>---
lang/python26/Portfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python26/Portfile b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 69bc8d8..72fa17c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup select 1.0
</span> name python26
# Remember to keep py26-tkinter and py26-gdbm's versions sync'd with this
version 2.6.9
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 7
</span> set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,7 @@ patchfiles patch-Makefile.pre.in.diff \
</span> yosemite.patch \
improve-QuickTime.h-check.patch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:gettext port:zlib path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gettext port:zlib port:openssl10 \
</span> port:sqlite3 port:db46 port:ncurses \
port:bzip2 port:libedit
depends_run port:python_select \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,6 +61,8 @@ configure.ccache no
</span> # signed integer overflow is normally undefined as per the C spec, but python
# needs it to be defined as twos-complement
configure.cflags-append -fwrapv
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cppflags-prepend -I${prefix}/include/openssl-1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-prepend -L${prefix}/lib/openssl-1.0
</span>
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Lib/cgi.py \
</pre><pre style='margin:0'>
</pre>