Use _PREFIX in kfreebsd-Platform.diff patch.

ci/unstable
Modestas Vainius 15 years ago
parent b152287dce
commit 20dcca63ad

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

Loading…
Cancel
Save