pkgsrc-Bugs archive

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

pkg/35032: deval/cmake can't find curses.h on linux/FC5



>Number:         35032
>Category:       pkg
>Synopsis:       deval/cmake can't find curses.h on linux/FC5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 10 22:20:00 +0000 2006
>Originator:     Anthony Mallet
>Release:        NetBSD 4.99.3 i386
>Organization:
>Environment:


System: NetBSD 4.99.3 (FICUS) #25: Sat Sep 30 23:07:01 CEST 2006
        tho@ficus:/usr/obj/sys/arch/i386/compile/FICUS



>Description:


devel/cmake configure step can't find curses.h on linux/FC5: pkgsrc (or native
system packages) provide only ncurses.h.
Attached is a modified patch-ac file that correct this.



>How-To-Repeat:





>Fix:


--- patch-ac begins here ---
$NetBSD: patch-ac,v 1.2 2006/05/19 21:32:52 rillig Exp $

--- Modules/FindCurses.cmake.orig       2006-04-18 21:41:51.000000000 +0100
+++ Modules/FindCurses.cmake
@@ -2,31 +2,31 @@
 
 FIND_PATH(CURSES_INCLUDE_PATH 
-  curses.h
-  /usr/local/include 
+  ncurses.h
+  @prefix@/include
   /usr/include
 )
 
 FIND_LIBRARY(CURSES_LIBRARY 
-  NAMES curses ncurses
-  PATHS 
-    /usr/local/lib 
+  NAMES ncurses
+  PATHS
+    @prefix@/lib
     /usr/lib 
     /lib
 )
 
 FIND_LIBRARY(CURSES_EXTRA_LIBRARY 
   cur_colr
-  PATHS 
-    /usr/local/lib 
+  PATHS
+    @prefix@/lib
     /usr/lib 
     /lib
 )
 
 FIND_LIBRARY(FORM_LIBRARY 
   form
-  PATHS 
-    /usr/local/lib 
+  PATHS
+    @prefix@/lib
     /usr/lib 
     /lib
 )
--- patch-ac ends here ---






Home | Main Index | Thread Index | Old Index