~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to debian/patches/kfreebsd-Platform.diff

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- cmake-2.6.0-RC-8.orig/Modules/CMakeDetermineSystem.cmake
2
 
+++ cmake-2.6.0-RC-8/Modules/CMakeDetermineSystem.cmake
3
 
@@ -12,6 +12,7 @@
4
 
 # HP-UX                         HP-UX  
5
 
 # IRIX                          IRIX  
6
 
 # Linux                         Linux  
7
 
+# GNU/kFreeBSD                  GNU/kFreeBSD
8
 
 # NetBSD                        NetBSD  
9
 
 # OpenBSD                       OpenBSD  
10
 
 # OFS/1 (Digital Unix)          OSF1  
11
 
@@ -108,6 +109,11 @@
12
 
     SET(${_PREFIX}_NAME BSDOS)
13
 
   ENDIF(${_PREFIX}_NAME MATCHES BSD.OS)
14
 
 
15
 
+  # fix for GNU/kFreeBSD , remove the GNU/
16
 
+  IF(CMAKE_SYSTEM_NAME MATCHES GNU.kFreeBSD)
17
 
+    SET(CMAKE_SYSTEM_NAME kFreeBSD)
18
 
+  ENDIF(CMAKE_SYSTEM_NAME MATCHES GNU.kFreeBSD)
19
 
+
20
 
   # fix for CYGWIN which has windows version in it 
21
 
   IF(${_PREFIX}_NAME MATCHES CYGWIN)
22
 
     SET(${_PREFIX}_NAME CYGWIN)