aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-03-27 09:26:51 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-03-27 10:26:36 +0000
commit320bf1495005aa538885fc9a9954796ecf30fbf8 (patch)
treec8d6f8f43a7a587f26e1880036b5c952181283fc
parent29d683ad78116fe1e9b863714c71ffbf81d44302 (diff)
downloadports-320bf1495005aa538885fc9a9954796ecf30fbf8.tar.gz
ports-320bf1495005aa538885fc9a9954796ecf30fbf8.zip
devel/serd: unbreak with --auto-features=enabled
doc/meson.build:6:0: ERROR: Program 'doxygen' not found or not executable PR: 270361 Reported by: antoine (via exp-run)
-rw-r--r--devel/serd/Makefile1
-rw-r--r--devel/serd/files/patch-meson.build14
2 files changed, 15 insertions, 0 deletions
diff --git a/devel/serd/Makefile b/devel/serd/Makefile
index 1675394b49cd..742481ebff5f 100644
--- a/devel/serd/Makefile
+++ b/devel/serd/Makefile
@@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= meson pkgconfig python:test tar:xz
USE_CSTD= c99
USE_LDCONFIG= yes
+MESON_ARGS= -Ddocs=disabled
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/devel/serd/files/patch-meson.build b/devel/serd/files/patch-meson.build
new file mode 100644
index 000000000000..fabf675b1eb0
--- /dev/null
+++ b/devel/serd/files/patch-meson.build
@@ -0,0 +1,14 @@
+Manpage is available even with -Ddocs=disabled
+
+--- meson.build.orig 2022-09-09 03:07:05 UTC
++++ meson.build
+@@ -135,9 +135,7 @@ if not get_option('tools').disabled()
+
+ meson.override_find_program('serdi', serdi)
+
+- if not get_option('docs').disabled()
+ install_man(files('doc/serdi.1'))
+- endif
+ endif
+
+ ###########