Browse Source

kmod: fix pkgconfig file

The pkgconfig file is generated at make-time, leading to absolute /usr/include & /usr/lib search paths.
The patch lets autoconf handle pkgconfig file subst, like other packages do.

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
1f3925de20
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      utils/kmod/patches/001-fix_pkgconfig_file.patch

+ 22
- 0
utils/kmod/patches/001-fix_pkgconfig_file.patch View File

@ -0,0 +1,22 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,6 @@ SED_PROCESS = \
-e 's,@zlib_LIBS\@,${zlib_LIBS},g' \
< $< > $@ || rm $@
-%.pc: %.pc.in Makefile
- $(SED_PROCESS)
-
LIBKMOD_CURRENT=4
LIBKMOD_REVISION=9
LIBKMOD_AGE=2
--- a/configure.ac
+++ b/configure.ac
@@ -221,6 +221,7 @@ AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
Makefile
man/Makefile
+ libkmod/libkmod.pc
libkmod/docs/Makefile
libkmod/docs/version.xml
])

Loading…
Cancel
Save