git: ec701eb51727 - main - sysutils/syslog-ng: Fix package with PYTHON=ON

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 05 Jul 2022 19:36:40 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec701eb51727f506b81f44c45930f3de436b5666

commit ec701eb51727f506b81f44c45930f3de436b5666
Author:     Christian Ullrich <chris@chrullrich.net>
AuthorDate: 2022-07-05 19:31:14 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-07-05 19:31:14 +0000

    sysutils/syslog-ng: Fix package with PYTHON=ON
    
    Since the 3.37.1 update, syslog-ng does not build with option PYTHON
    enabled:
    
    [00:01:12] ====> Running Q/A tests (stage-qa)
    [00:01:12] Error: /usr/local/lib/syslog-ng/libmod-python.so is linked to
    /usr/local/lib/libpython3.10.so.1.0 from lang/python310 but it is not
    declared as a dependency
    [00:01:12] Warning: you need LIB_DEPENDS+=libpython3.10.so:lang/python310
    
    PR:             264985
    Submitted by:   Christian Ullrich <chris@chrullrich.net>
    Reported by:    Christian Ullrich <chris@chrullrich.net>
    Reviewed by:    Peter Czanik (CzP) <peter.czanik@oneidentity.com>
                    Balabit (a OneIdentity company) / syslog-ng upstream
    
    Signed-off-by:  Cy Schubert <cy@FreeBSD.org>
---
 sysutils/syslog-ng/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 9def20978238..0ace1c408dce 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -149,10 +149,7 @@ PYTHON_USES=			python:3.5+
 PYTHON_CONFIGURE_ON=		--enable-python 
 PYTHON_CONFIGURE_OFF=		--disable-python
 PYTHON_PLIST_FILES=		lib/syslog-ng/libmod-python.so \
-		lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/PKG-INFO \
-		lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt \
-		lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt \
-		lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/top_level.txt \
+		lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info \
 		lib/syslog-ng/python/syslogng/__init__.py \
 		lib/syslog-ng/python/syslogng/__pycache__/__init__.cpython-${PYTHON_SUFFIX}.pyc \
 		lib/syslog-ng/python/syslogng/debuggercli/__init__.py \