git: 700f5ee61068 - main - devel/ptlib: remove BSDVIDEO option

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 06:30:32 UTC
The branch main has been updated by fuz:

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

commit 700f5ee61068b4007bdba9956b1b958719fefdef
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-09-24 18:46:28 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-25 06:29:20 +0000

    devel/ptlib: remove BSDVIDEO option
    
    No longer supported on any supported FreeBSD version, but
    was errorneously enabled on FreeBSD 15-CURRENT, causing
    plist issues.
    
    Approved by:    portmgr (build fix blanket)
---
 devel/ptlib/Makefile  | 13 ++++---------
 devel/ptlib/pkg-plist |  1 -
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile
index 06c436a44bcd..11a0786d150d 100644
--- a/devel/ptlib/Makefile
+++ b/devel/ptlib/Makefile
@@ -19,7 +19,8 @@ BROKEN_SSL_REASON=	Uses OpenSSL 3.0.0 deprecated BIO_s_file_internal
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=--disable-lua \
+CONFIGURE_ARGS=	--disable-bsdvideo \
+		--disable-lua \
 		--disable-sasl \
 		--enable-audio \
 		--enable-ipv6 \
@@ -41,18 +42,12 @@ PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
 		PVERSION_MAJOR=${PVERSION_MAJOR} \
 		PVERSION_MINOR=${PVERSION_MINOR}
 
-OPTIONS_DEFINE=	DEBUG BSDVIDEO ODBC ALSA JABBER V4L SDL LDAP PULSEAUDIO
-OPTIONS_DEFAULT=BSDVIDEO SDL V4L JABBER
-OPTIONS_EXCLUDE_FreeBSD_13=	BSDVIDEO
-OPTIONS_EXCLUDE_FreeBSD_14=	BSDVIDEO
+OPTIONS_DEFINE=	DEBUG ODBC ALSA JABBER V4L SDL LDAP PULSEAUDIO
+OPTIONS_DEFAULT=SDL V4L JABBER
 OPTIONS_SUB=	yes
 
-BSDVIDEO_DESC=	BSD video support
-
 ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
 ALSA_CONFIGURE_ENABLE=alsa
-BSDVIDEO_CONFIGURE_ENABLE=bsdvideo
-BSDVIDEO_VARS=	PTLIB_VIDEO=1
 DEBUG_ALL_TARGET=	debugshared
 JABBER_CONFIGURE_ON=--enable-jabber
 JABBER_VARS=	PTLIB_VIDEO=1
diff --git a/devel/ptlib/pkg-plist b/devel/ptlib/pkg-plist
index 3f66a2d9eedd..8a9dc8aa7260 100644
--- a/devel/ptlib/pkg-plist
+++ b/devel/ptlib/pkg-plist
@@ -172,7 +172,6 @@ lib/libpt.so.%%PORTVERSION%%
 %%DEBUG%%lib/libpt_d.so.%%PORTVERSION%%
 lib/ptlib-%%PORTVERSION%%/devices/sound/oss_pwplugin.so
 %%PULSEAUDIO%%lib/ptlib-%%PORTVERSION%%/devices/sound/pulse_pwplugin.so
-%%BSDVIDEO%%lib/ptlib-%%PORTVERSION%%/devices/videoinput/bsdvideo_pwplugin.so
 %%V4L%%lib/ptlib-%%PORTVERSION%%/devices/videoinput/v4l_pwplugin.so
 %%V4L%%lib/ptlib-%%PORTVERSION%%/devices/videoinput/v4l2_pwplugin.so
 libdata/pkgconfig/ptlib.pc