[packages/justniffer] autoconf bundled libnids, now fails with linking

glen glen at pld-linux.org
Tue Oct 6 19:04:04 CEST 2015


commit 33d30492d400d1b7fedaf0ea0b6fe4e8f4089e68
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 6 20:03:57 2015 +0300

    autoconf bundled libnids, now fails with linking

 justniffer.spec | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/justniffer.spec b/justniffer.spec
index 4f15614..0e4402a 100644
--- a/justniffer.spec
+++ b/justniffer.spec
@@ -42,14 +42,28 @@ Main differences from other sniffers:
 
 %prep
 %setup -q
+
 cp -p %{SOURCE1} m4
 
 %build
+cd lib/libnids-1.21_patched
+%{__aclocal}
+%{__autoconf}
+%{__libtoolize}
+%configure \
+	--disable-libnet \
+	--disable-libglib \
+	--disable-option-checking \
+	--srcdir=.
+%{__make} -C src
+cd -
+
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-%configure
+# subconfigure does not like our params, so use plain configure
+./configure
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/justniffer.git/commitdiff/33d30492d400d1b7fedaf0ea0b6fe4e8f4089e68



More information about the pld-cvs-commit mailing list