[BACK]Return to patch-ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cmake / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / cmake / patches / Attic / patch-ac (download)

Revision 1.1.1.1 (vendor branch), Wed May 7 11:55:03 2003 UTC (20 years, 11 months ago) by dmcmahill
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.1: +0 -0 lines

import cmake-1.6.6


CMake is an extensible, open-source system that manages the build
process in an operating system and compiler independent manner. Unlike
many cross-platform systems, CMake is designed to be used in
conjunction with the native build environment. Simple configuration
files placed in each source directory (called CMakeLists.txt files)
are used to generate standard build files (e.g., makefiles on Unix and
projects/workspaces in Windows MSVC) which are used in the usual
way. CMake can compile source code, create libraries, generate
wrappers, and build executables in arbitrary combinations. CMake
supports in-place and out-of-place builds, and can therefore support
multiple builds from a single source tree. CMake also supports static
and dynamic library builds.  Another nice feature of CMake is that it
generates a cache file that is designed to be used with a graphical
editor.  For example, when CMake runs, it locates include files,
libraries, and executable, and may encounter optional build
directives. This information is gathered into the cache, which may be
changed by the user prior to the generation of the native build files.

$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
 )