pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ndpi/patches Added patches/patch-configure.ac



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80eb2b04ea3c
branches:  trunk
changeset: 349173:80eb2b04ea3c
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 01 04:51:57 2016 +0000

description:
Added patches/patch-configure.ac

diffstat:

 net/ndpi/patches/patch-configure.ac |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r b6a781d3af7d -r 80eb2b04ea3c net/ndpi/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ndpi/patches/patch-configure.ac       Fri Jul 01 04:51:57 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2016/07/01 04:51:57 adam Exp $
+
+Portability fix.
+
+--- configure.ac.orig  2016-06-28 16:05:04.000000000 +0000
++++ configure.ac
+@@ -67,7 +67,7 @@ AC_ARG_ENABLE([json-c],
+ AS_IF([test "x$enable_json_c" != "xno"], [
+        PKG_CONFIG_PATH=/usr/local/share/pkgconfig:$PKG_CONFIG_PATH
+        pkg-config --exists json-c
+-       AS_IF([test "$?" == "0"],
++       AS_IF([test "$?" = "0"],
+              [
+               CFLAGS="$CFLAGS $(pkg-config --cflags json-c)"
+               LDFLAGS="$LDFLAGS $(pkg-config --libs json-c)"



Home | Main Index | Thread Index | Old Index