From 20dcca63adb2b9b185206e4c44150218d752b34f Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Sun, 4 Oct 2009 14:53:52 +0300 Subject: [PATCH] Use _PREFIX in kfreebsd-Platform.diff patch. --- debian/patches/kfreebsd-Platform.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches/kfreebsd-Platform.diff b/debian/patches/kfreebsd-Platform.diff index 2e6b211ec..33b4f6af9 100644 --- a/debian/patches/kfreebsd-Platform.diff +++ b/debian/patches/kfreebsd-Platform.diff @@ -30,9 +30,9 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340764 ENDIF(${_PREFIX}_NAME MATCHES BSD.OS) + # fix for GNU/kFreeBSD, remove the GNU/ -+ IF(CMAKE_SYSTEM_NAME MATCHES kFreeBSD) -+ SET(CMAKE_SYSTEM_NAME kFreeBSD) -+ ENDIF(CMAKE_SYSTEM_NAME MATCHES kFreeBSD) ++ IF(${_PREFIX}_NAME MATCHES kFreeBSD) ++ SET(${_PREFIX}_NAME kFreeBSD) ++ ENDIF(${PREFIX}_NAME MATCHES kFreeBSD) + # fix for CYGWIN which has windows version in it IF(${_PREFIX}_NAME MATCHES CYGWIN)