You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
libpqxx: Update python build dep to python 3.9
This commit is contained in:
@@ -30,9 +30,9 @@ database interfaces.
|
||||
|
||||
homepage http://pqxx.org/development/libpqxx/
|
||||
|
||||
checksums rmd160 3001c4e2947a912da00c9e71482f8615cc66e9a7 \
|
||||
sha256 891def9b863710d351fef4527908c9335d30f00bb637648c98c7f6fa69ac163b \
|
||||
size 707338
|
||||
checksums rmd160 3001c4e2947a912da00c9e71482f8615cc66e9a7 \
|
||||
sha256 891def9b863710d351fef4527908c9335d30f00bb637648c98c7f6fa69ac163b \
|
||||
size 707338
|
||||
|
||||
set pg_ports [list postgresql91 postgresql92 postgresql93 postgresql94 \
|
||||
postgresql95 postgresql96 postgresql10 postgresql11 postgresql12 postgresql13]
|
||||
@@ -54,11 +54,11 @@ if {!$any_variant_set} {
|
||||
|
||||
depends_build port:pkgconfig
|
||||
|
||||
if {${os.platform} eq "darwin" && ${os.major} < 11} {
|
||||
depends_build-append port:python27
|
||||
if {${os.platform} eq "darwin" && ${os.major} < 20} {
|
||||
depends_build-append port:python39
|
||||
post-patch {
|
||||
reinplace -W ${worksrcpath} "s| /usr/bin/env python|${prefix}/bin/python2.7|" \
|
||||
tools/splitconfig tools/template2mak.py
|
||||
reinplace -W ${worksrcpath} "s| /usr/bin/env python3|${prefix}/bin/python3.9|" \
|
||||
tools/splitconfig tools/template2mak.py tools/test_all.py tools/m4esc.py
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user