File iprutils.fix_ncurses_cflags_var.patch of Package iprutils

Index: iprutils/iprutils-rel-2-4-11/configure.ac
===================================================================
--- iprutils.orig/iprutils-rel-2-4-11/configure.ac
+++ iprutils/iprutils-rel-2-4-11/configure.ac
@@ -20,8 +20,8 @@ AC_PROG_CC
 AC_PROG_INSTALL
 LT_INIT
 
-ncurses_include=$(ncurses5-config --cflags)
-if test -n ${ncurses_include}; then
+ncurses_include="$(ncurses5-config --cflags)"
+if test -n "${ncurses_include}"; then
   CFLAGS="${CFLAGS} ${ncurses_include}"
 fi
openSUSE Build Service is sponsored by