SOURCES: kdevelop-ncurses.patch (NEW) - handle pld paths for ncurs...
glen
glen at pld-linux.org
Thu May 1 14:57:39 CEST 2008
Author: glen Date: Thu May 1 12:57:38 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- handle pld paths for ncurses in cppcurseshell app template
---- Files affected:
SOURCES:
kdevelop-ncurses.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kdevelop-ncurses.patch
diff -u /dev/null SOURCES/kdevelop-ncurses.patch:1.1
--- /dev/null Thu May 1 14:57:38 2008
+++ SOURCES/kdevelop-ncurses.patch Thu May 1 14:57:33 2008
@@ -0,0 +1,14 @@
+--- kdevelop-3.5.1/languages/cpp/app_templates/cppcurseshello/app-configure.in~ 2005-09-10 11:22:32.000000000 +0300
++++ kdevelop-3.5.1/languages/cpp/app_templates/cppcurseshello/app-configure.in 2008-05-01 14:05:04.507204713 +0300
+@@ -10,8 +10,9 @@
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+-AC_CHECK_HEADER([ncurses.h], [],
+- AC_MSG_ERROR([Couldn't find ncurses headers.]))
++AC_CHECK_HEADERS([ncurses/curses.h],
++ [ CPPFLAGS="-I/usr/include/ncurses $CPPFLAGS" ],
++ [ AC_CHECK_HEADERS(curses.h,, [AC_MSG_ERROR(["curses.h not found"])],) ])
+
+ AC_CHECK_LIB(ncurses, refresh, , AC_ERROR([Couldn't find ncurses library]), -lncurses, -ldl)
+
================================================================
More information about the pld-cvs-commit
mailing list