<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6396e25f427839e7331fc483cafa17b02a2e025e">https://github.com/macports/macports-ports/commit/6396e25f427839e7331fc483cafa17b02a2e025e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6396e25f427839e7331fc483cafa17b02a2e025e
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Mon Oct 23 17:05:25 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> libdbi-drivers: update to 0.9.0
</span>---
databases/libdbi-drivers/Portfile | 70 ++++++++++++++------------
databases/libdbi-drivers/files/configure.patch | 34 -------------
2 files changed, 38 insertions(+), 66 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/libdbi-drivers/Portfile b/databases/libdbi-drivers/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e915b0fcf58..f35e70b9a87 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/libdbi-drivers/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/libdbi-drivers/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,30 +1,32 @@
</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> PortSystem 1.0
name libdbi-drivers
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.3-1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories databases devel
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {umich.edu:mta @mtalexander}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {umich.edu:mta @mtalexander} openmaintainer
</span> description Drivers for libdbi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description $description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://libdbi-drivers.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://libdbi-drivers.sourceforge.net
</span> master_sites sourceforge
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 4de79b323162a5a7652b65b608eca6cd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 599fbab115419e8fc88b3b31a38031584ee213b5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libdbi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9252bf6885fc365f41f7d7321be0fd3ed90030d1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 43d2eacd573a4faff296fa925dd97fbf2aedbf1ae35c6263478210c61004c854 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1829864
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles configure.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:libdbi
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --with-dbi-incdir=${prefix}/include --with-dbi-libdir=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-dbi-incdir=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-dbi-libdir=${prefix}/lib \
</span> --disable-docs
platform darwin arm {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:automake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake
</span>
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,38 +37,42 @@ platform darwin arm {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset mysql5] && ![variant_isset postgresql83] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset sqlite2] && ![variant_isset sqlite3]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset mysql5] && ![variant_isset postgresql15] && ![variant_isset freetds] && ![variant_isset sqlite3]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +sqlite3
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 description "Include drivers for MySQL" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql5 description "Include drivers for MySQL" {
</span> configure.args-append --with-mysql --with-mysql-incdir=${prefix}/include/mysql5 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mysql-libdir=${prefix}/lib/mysql5/mysql
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:bin/mysql_config5:mysql5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-mysql-libdir=${prefix}/lib/mysql5/mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:bin/mysql_config5:mysql5
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql83 description "Include drivers for PostgreSQL" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-pgsql --with-pgsql-incdir=${prefix}/include/postgresql83 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pgsql-libdir=${prefix}/lib/postgresql83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql83
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql15 description "Include drivers for PostgreSQL" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql --with-pgsql-incdir=${prefix}/include/postgresql15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-pgsql-libdir=${prefix}/lib/postgresql15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql15
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant sqlite2 description "Include drivers for SQLite" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-sqlite --with-sqlite-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:sqlite2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant freetds description "Include drivers for Freetds" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This bug has never been fixed: https://marc.info/?l=freetds&m=150029469720272
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The followin borrowed from: https://gitea.nek0.eu/nek0/nixpkgs/commit/75666aad62b1b66909b9656a9619e08cb6919543.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|CS_TDS_80|CS_TDS_73|" ${worksrcpath}/drivers/freetds/dbd_freetds.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-freetds --with-freetds-incdir=${prefix}/include/freetds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:freetds
</span> }
variant sqlite3 description "Include drivers for SQLite3" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-sqlite3 --with-sqlite3-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-sqlite3 --with-sqlite3-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:sqlite3
</span> }
variant docs description "Build the documentation" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:openjade
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:openjade
</span> }
variant debug description "Build debug version" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.target debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target debug
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/libdbi-drivers/files/configure.patch b/databases/libdbi-drivers/files/configure.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 62b9cb89109..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/libdbi-drivers/files/configure.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,34 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2008-03-04 04:41:58.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2012-08-15 09:46:18.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20194,7 +20194,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PROFILE="-g -p" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20202,16 +20202,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case $host in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-*-linux*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -ffast-math -D_REENTRANT -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-pg -g -O4 -ffast-math -D_REENTRANT -fsigned-char";;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sparc-sun-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-pg -g -O4 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -D__NO_MATH_INLINES -fsigned-char"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-O4 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>