git: 98a26821dd3a - main - graphics/vips: temporarily disable static libs after 7a39bdfd4c0c

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 27 Oct 2024 00:17:28 UTC
The branch main has been updated by jbeich:

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

commit 98a26821dd3a8ca1d96ad00c466e3802def0845e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-10-06 21:24:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-10-27 00:14:26 +0000

    graphics/vips: temporarily disable static libs after 7a39bdfd4c0c
    
    ld: error: undefined symbol: vips_access_get_type
    >>> referenced by libvips-scan.c
    >>>               libvips-scan.o:(main)
    
    PR:             281916
    Exp-run by:     antoine
---
 graphics/vips/Makefile  | 5 ++++-
 graphics/vips/pkg-plist | 2 --
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile
index 3c4a5b50b13b..c783a0913f52 100644
--- a/graphics/vips/Makefile
+++ b/graphics/vips/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	vips
 PORTVERSION=	8.15.5
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/
 
@@ -19,7 +20,9 @@ RUN_DEPENDS=	bash:shells/bash
 USES=		compiler:c++11-lang cpe gettext-tools gnome localbase meson pkgconfig python shebangfix tar:xz
 USE_GNOME=	glib20
 
-MESON_ARGS=	--default-library=both \
+# --default-library=both is broken after https://github.com/mesonbuild/meson/commit/7b3169f46481
+# but not reproducible outside of ports/ build
+MESON_ARGS=	\
 		-Danalyze=true \
 		-Dcplusplus=true \
 		-Ddeprecated=true \
diff --git a/graphics/vips/pkg-plist b/graphics/vips/pkg-plist
index bc5f4bd4e96d..864ab6ee1c84 100644
--- a/graphics/vips/pkg-plist
+++ b/graphics/vips/pkg-plist
@@ -57,11 +57,9 @@ include/vips/video.h
 include/vips/vips.h
 include/vips/vips7compat.h
 include/vips/vips8
-lib/libvips-cpp.a
 lib/libvips-cpp.so
 lib/libvips-cpp.so.42
 lib/libvips-cpp.so.42.17.5
-lib/libvips.a
 lib/libvips.so
 lib/libvips.so.42
 lib/libvips.so.42.17.5