<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b8528207c1e8db8036ff8c365016c44d0654029b">https://github.com/macports/macports-ports/commit/b8528207c1e8db8036ff8c365016c44d0654029b</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 b8528207c1e pciutils: new port
</span>b8528207c1e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b8528207c1e8db8036ff8c365016c44d0654029b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon May 8 13:43:41 2023 -0700

<span style='display:block; white-space:pre;color:#404040;'>    pciutils: new port
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes https://trac.macports.org/ticket/67390
</span>---
 sysutils/pciutils/Portfile                        | 35 +++++++++++++++++++++++
 sysutils/pciutils/files/patch-shared_library.diff | 20 +++++++++++++
 2 files changed, 55 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/pciutils/Portfile b/sysutils/pciutils/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bee2739c0d2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/pciutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</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                   makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                        pciutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                     3.9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories                  sysutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license                     GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers                 {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description                 a collection of programs for inspecting and manipulating configuration of PCI devices
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description            The PCI Utilities are {*}${description}, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            all based on a common portable library libpci \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            which offers access to the PCI configuration space on a variety of operating systems.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                    https://mj.ucw.cz/sw/pciutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites                https://mj.ucw.cz/download/linux/pci/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums                   rmd160  7c9586966a97623eaed71fb7218ab22b2001e406 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            sha256  8953a785b2e3af414434b8fdcbfb75c90758819631001e60dd3afb89b22b2331 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            size    908219
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append           patch-shared_library.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append          port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override-append    PREFIX \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            CFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append           ZLIB=yes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            DNS=yes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            SHARED=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target-append      install-lib
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/pciutils/files/patch-shared_library.diff b/sysutils/pciutils/files/patch-shared_library.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bb286a7b64a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/pciutils/files/patch-shared_library.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/configure.orig     2022-11-18 06:15:08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/configure  2023-04-16 07:37:53
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -303,6 +303,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCILIB=$(LIBNAME).$(LIBEXT).$(VERSION)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   elif [ "$LIBEXT" = dll ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCILIB=$(LIBNAME)$(ABI_VERSION).$(LIBEXT)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  elif [ "$LIBEXT" = dylib ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++          echo >>$m 'PCILIB=$(LIBNAME).$(ABI_VERSION).$(LIBEXT)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCILIB=$(LIBNAME).$(VERSION).$(LIBEXT)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -314,7 +316,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCILIB_LDFLAGS+=-Wl,-soname,$(LIBNAME).$(LIBEXT).$(ABI_VERSION)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCILIB_LDFLAGS+=-Wl,--version-script=libpci.ver'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   elif [ "$LIBEXT" = dylib ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-          echo >>$m 'PCILIB_LDFLAGS+=-Wl,-install_name,$(LIBDIR)/$(PCILIB)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++          echo >>$m 'PCILIB_LDFLAGS+=-Wl,-install_name,$(LIBDIR)/$(PCILIB),-compatibility_version,$(ABI_VERSION),-current_version,$(VERSION)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   elif [ "$LIBEXT" = dll ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           echo >>$m 'PCIIMPDEF=$(LIBNAME)$(ABI_VERSION).def'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           # GCC's -fvisibility=hidden is broken for Windows targets, use -Wl,--exclude-all-symbols instead (supported since GNU LD 2.21)
</span></pre><pre style='margin:0'>

</pre>