<pre style='margin:0'>
Jyrki Wahlstedt (jyrkiwahlstedt) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dd46165806bfbe5cda27b9233022c1123a7c920f">https://github.com/macports/macports-ports/commit/dd46165806bfbe5cda27b9233022c1123a7c920f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new dd46165 postgresql13: beta 1 of PostgreSQL 13
</span>dd46165 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit dd46165806bfbe5cda27b9233022c1123a7c920f
</span>Author: Jyrki Wahlstedt <jyrki.wahlstedt@wahlstedt.fi>
AuthorDate: Sat May 23 19:45:04 2020 +0300
<span style='display:block; white-space:pre;color:#404040;'> postgresql13: beta 1 of PostgreSQL 13
</span>---
databases/postgresql13-doc/Portfile | 49 ++++++++++
databases/postgresql13-server/Portfile | 57 ++++++++++++
databases/postgresql13/Portfile | 165 +++++++++++++++++++++++++++++++++
3 files changed, 271 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgresql13-doc/Portfile b/databases/postgresql13-doc/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3c4c4eb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgresql13-doc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name postgresql13-doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts postgresql95-doc postgresql96-doc postgresql10-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql11-doc postgresql12-doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 13beta1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {jwa @jyrkiwahlstedt}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Permissive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Documentation for the postgresql database BETA release.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description PostgreSQL is Object-Relational Database Management System.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It supports almost all SQL constructs, including transactions, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subselects, and user-defined types and functions. Write-ahead \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ logging means increased performance while retaining data \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ integrity. This is the documentation.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.postgresql.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites postgresql:source/v${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname postgresql-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set rname postgresql13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cf27145d8de6aba3290f0a3d76c26cce79126369 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 249ba0d0227d5393b83d397f2543354bfee579276cb1e821e9b7d904a42039e1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 21361108
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir ${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set libdir ${prefix}/lib/${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.dir ${worksrcpath}/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.dir ${build.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${prefix}/share/doc/postgresql \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgresql13-server/Portfile b/databases/postgresql13-server/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2c7d04f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgresql13-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,57 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name postgresql13-server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 13beta1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {jwa @jyrkiwahlstedt}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Permissive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set rname postgresql13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description run ${rname} as server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.postgresql.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites postgresql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set libdir ${prefix}/lib/${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set dbdir ${prefix}/var/db/${rname}/defaultdb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set logdir ${prefix}/var/log/${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set dbuser postgres
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set dbgrp postgres
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set dbhome ${prefix}/var/db/${rname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+add_users ${dbuser} shell=/bin/sh group=${dbgrp} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ home=${prefix}/var/db/${rname} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ realname=PostgreSQL-13\ Server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.init \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "PGCTL=${libdir}/bin/pg_ctl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.start \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL13DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.stop \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL13DATA:=${dbdir}} stop -s -m fast\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${logdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "touch ${destroot}${logdir}/postgres.log"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chown ${dbuser}:${dbgrp} ${destroot}${logdir}/postgres.log"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "\nTo create a database instance, after install do\n\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo mkdir -p ${dbdir}\n\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo chown ${dbuser}:${dbgrp} ${dbdir}\n\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo su ${dbuser} -c \'cd ${dbhome} && ${libdir}/bin/initdb -D ${dbdir}\' "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgresql13/Portfile b/databases/postgresql13/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..578ea68
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgresql13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,165 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compilers 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#remember to update the -doc and -server as well
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name postgresql13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 13beta1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {jwa @jyrkiwahlstedt}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Permissive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The most advanced open-source database available anywhere.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description PostgreSQL is Object-Relational Database Management System.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It supports almost all SQL constructs, including transactions, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subselects, and user-defined types and functions. Write-ahead \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ logging means increased performance while retaining data \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ integrity.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.postgresql.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/source/v${version}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql:source/v${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname postgresql-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cf27145d8de6aba3290f0a3d76c26cce79126369 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 249ba0d0227d5393b83d397f2543354bfee579276cb1e821e9b7d904a42039e1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 21361108
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# do not build man or html files (use postgresqlXY-doc instead)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-no_doc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:readline path:lib/libssl.dylib:openssl port:zlib port:libxml2 port:libxslt port:icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:bison port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:postgresql_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir postgresql-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set libdir ${prefix}/lib/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args PG_SYSROOT=disabled \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --sysconfdir=${prefix}/etc/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --bindir=${libdir}/bin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --libdir=${libdir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --includedir=${prefix}/include/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --datadir=${prefix}/share/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --docdir=${prefix}/share/doc/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libraries=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-bonjour \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libxslt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-gssapi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-thread-safety \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-uuid=e2fs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append -headerpad_max_install_names
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# building psql with clang from Xcode prior to 4.4 causes segfault on query; see #31717
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 421}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.choose cc cxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.setup -gcc -fortran -clang33 -clang34 -clang37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "To use the postgresql server, install the ${name}-server port"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append -DAC_APPLE_UNIVERSAL_BUILD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target world
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target install-world
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remember to change livecheck with first proper release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.regex (13\\.\[.0-9\]*\[a-z\]+\[0-9\])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex (13\[a-z\]+\[0-9\])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.regex (13\\.\[.0-9\]+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}/ftp/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql12"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/${name}/pgxs/src/Makefile.global
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ merger-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}-${arch}${prefix}/lib/${name}/pgxs/src/Makefile.global
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s#${worksrcpath}-${arch}#${worksrcpath}#g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}-${arch}${prefix}/lib/${name}/pgxs/src/Makefile.global
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select.group postgresql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select.file ${filespath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python requires python27 description {add support for python} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python3 description {add support for python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python3 conflicts python27 description {add support for python 3.x} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${prefix}/bin/python3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant perl description {add Perl support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append bin:perl:perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-perl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tcl description {add Tcl support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:tcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-tcl --with-tclconfig=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append TCLSH=${prefix}/bin/tclsh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant llvm description {add support for JIT compilation} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set llvm_ver 9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach clang ${compilers.clang_variants} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists ${clang}] && [variant_isset ${clang}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set llvm_ver [string index ${clang} end-1].[string index ${clang} end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:llvm-${llvm_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-llvm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append LLVM_CONFIG=${prefix}/libexec/llvm-${llvm_ver}/bin/llvm-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CLANG=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>