gentoo-ebuilds/dev-cpp/asio/files/asio-1.30.1-pkgconfig.patch
Alexey Sokolov bb54088376
dev-cpp/asio: add 1.30.1
Removed IUSE=doc because docs are only available in tarball published on
sourcefourge, not in auto tarballs from github; but versions after
1.28.1 are not available on sourcefourge, but only as git tags.

Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/36111
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-06-07 16:15:06 +03:00

24 lines
505 B
Diff

Install .pc file to /usr/share instead of /usr/lib because there are no .so files
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,6 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip
-pkgconfig_DATA = asio.pc
-pkgconfigdir = $(libdir)/pkgconfig
+noarch_pkgconfig_DATA = asio.pc
SUBDIRS = include src
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@ AM_PROG_CC_C_O
AC_PROG_CXX
AC_LANG(C++)
AC_PROG_RANLIB
-PKG_INSTALLDIR
+PKG_NOARCH_INSTALLDIR
AC_DEFINE(_REENTRANT, [1], [Define this])