From 4399d10abbcb30cff8fd7780bcf2a4b4851892e7 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Fri, 13 Dec 2024 01:26:25 -0500 Subject: [PATCH] musl-fts - ensure `pkgconfigdir` is set in Makefile.ac --- world/musl-fts/Makefile | 5 +++-- world/musl-fts/musl-fts_pkgconfigdir.patch | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 world/musl-fts/musl-fts_pkgconfigdir.patch diff --git a/world/musl-fts/Makefile b/world/musl-fts/Makefile index 0f412a2..0d6c167 100644 --- a/world/musl-fts/Makefile +++ b/world/musl-fts/Makefile @@ -1,8 +1,9 @@ # Makefile - hhl - /src/world/musl-fts # Copyright 2020 Nathan Fisher # -distname = musl-fts -distext = gz +distname = musl-fts +distext = gz +patches += musl-fts_pkgconfigdir.patch include world.mk pre_configure = cd $(srcdir) && ./bootstrap.sh config_opts += --host=$(tgt) diff --git a/world/musl-fts/musl-fts_pkgconfigdir.patch b/world/musl-fts/musl-fts_pkgconfigdir.patch new file mode 100644 index 0000000..b5fe98b --- /dev/null +++ b/world/musl-fts/musl-fts_pkgconfigdir.patch @@ -0,0 +1,9 @@ +diff -Naur musl-fts-1.2.7.orig/Makefile.am musl-fts-1.2.7/Makefile.am +--- musl-fts-1.2.7.orig/Makefile.am 2017-01-13 09:57:04.000000000 -0500 ++++ musl-fts-1.2.7/Makefile.am 2024-12-13 01:23:11.894769692 -0500 +@@ -5,4 +5,5 @@ + libfts_la_HEADERS = fts.h + libfts_ladir = $(includedir) + ++pkgconfigdir = /usr/lib/pkgconfig + pkgconfig_DATA = musl-fts.pc