summaryrefslogtreecommitdiff
path: root/devel/cmake/patches/patch-ac
blob: d370c78d045c3cf77aa82eb3f8cfc8372ecc1156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ac,v 1.1.1.1 2003/05/07 11:55:03 dmcmahill Exp $

--- Modules/FindCurses.cmake.orig	Wed Dec 12 12:05:20 2001
+++ Modules/FindCurses.cmake
@@ -3,18 +3,18 @@
 #
 
 FIND_PATH(CURSES_INCLUDE_PATH curses.h
-/usr/local/include /usr/include
+@prefix@/include /usr/include 
 )
 
-FIND_LIBRARY(CURSES_LIBRARY curses
-PATHS /usr/local/lib /usr/lib /lib
+FIND_LIBRARY(CURSES_LIBRARY ncurses
+PATHS @prefix@/lib /usr/lib /lib
 )
 
 FIND_LIBRARY(CURSES_EXTRA_LIBRARY cur_colr
-PATHS /usr/local/lib /usr/lib /lib
+PATHS @prefix@/lib  /usr/lib /lib
 )
 
 FIND_LIBRARY(FORM_LIBRARY form
-PATHS /usr/local/lib /usr/lib /lib
+PATHS @prefix@/lib /usr/lib /lib
 )