SHA256
1
0
forked from pool/ipset
ipset/ipset-pkgc.diff

32 lines
1.0 KiB
Diff

---
Makefile.am | 2 +-
configure.ac | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
Index: ipset-6.28/Makefile.am
===================================================================
--- ipset-6.28.orig/Makefile.am
+++ ipset-6.28/Makefile.am
@@ -71,7 +71,7 @@ modules_install:
if WITH_KMOD
${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net \
KDIR=$$PWD/kernel modules_install
- @modinfo ip_set_hash_ip | ${GREP} /extra/ >/dev/null || echo "$$DEPMOD_WARNING"
+ ${AM_V_at}modinfo -b ${DESTDIR} ip_set_hash_ip | ${GREP} /extra/ >/dev/null || echo "$$DEPMOD_WARNING"
@lsmod | ${GREP} '^ip_set' >/dev/null && echo "$$MODULE_WARNING"
else
@echo Skipping kernel modules due to --with-kmod=no
Index: ipset-6.28/configure.ac
===================================================================
--- ipset-6.28.orig/configure.ac
+++ ipset-6.28/configure.ac
@@ -12,6 +12,8 @@ LT_INIT([dlopen])
LT_CONFIG_LTDL_DIR([libltdl])
LTDL_INIT([nonrecursive])
+PKG_PROG_PKG_CONFIG
+
dnl Shortcut: Linux supported alone
case "$host" in
*-*-linux* | *-*-uclinux*) ;;