<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0dd9746f2f04b41f1738d0a7606d7d81593a3d7e">https://github.com/macports/macports-ports/commit/0dd9746f2f04b41f1738d0a7606d7d81593a3d7e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0dd9746f2f04b41f1738d0a7606d7d81593a3d7e
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Thu Jul 13 07:16:17 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> openldap: cleanup
</span>---
databases/openldap/Portfile | 42 ++++++++++++++++++++++++++----------------
1 file changed, 26 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/openldap/Portfile b/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bbb54609b0b..86596acbb5e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,16 +35,18 @@ extract.suffix .tgz
</span> legacysupport.newest_darwin_requires_legacy \
16
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tcp_wrappers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span> port:cyrus-sasl2 \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:db48 \
</span> port:libfetch \
path:lib/libssl.dylib:openssl \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:db48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tcp_wrappers \
</span> path:lib/pkgconfig/icu-uc.pc:icu
# Needed for `gdate` on older macOS releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_test-append path:libexec/coreutils/libstdbuf.so:coreutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:libexec/coreutils/libstdbuf.so:coreutils
</span>
patchfiles-append patch-ltmain.diff
patchfiles-append patch-dynamic_lookup-11.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,34 +55,42 @@ patchfiles-append patch-libressl.diff
</span> # Use 'gdate', rather than 'date', for tests
patchfiles-append patch-tests-gdate.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append LANG=C
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append -I${prefix}/include/db48 -I${prefix}/include/openssl -DBIND_8_COMPAT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LANG=C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include/db48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include/openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBIND_8_COMPAT
</span>
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cppflags-append -DMDB_FDATASYNC=fsync
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMDB_FDATASYNC=fsync
</span> if {${os.major} <= 9} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cppflags-append -DMDB_DSYNC=O_SYNC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMDB_DSYNC=O_SYNC
</span> }
if {${os.major} >= 22} {
# The openldap build uses soelim from groff, and newer OS versions do
# not provide groff as part of the base OS install.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:groff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:groff
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append -L${prefix}/lib/db48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -L${prefix}/lib/db48
</span>
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-crypt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-ipv6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-syncprov \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-wrappers \
</span> --localstatedir=${prefix}/var \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir=${prefix}/share/man \
</span> --with-cyrus-sasl \
--with-fetch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-tls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-wrappers \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-crypt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-syncprov \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-ipv6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-tls
</span>
startupitem.create yes
startupitem.name slapd
</pre><pre style='margin:0'>
</pre>