diff options
author | antoine <antoine@FreeBSD.org> | 2016-07-23 10:33:34 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2016-07-23 10:33:34 +0000 |
commit | f9b296af858f87aedc12213fd6cbe0c78336e375 (patch) | |
tree | ba52e89edf9d0580c248aac715ddefe45ecd1097 | |
parent | d15ba74813d23508d3a67cdefa76a6e1d8e5865c (diff) | |
download | FreeBSD-ports-f9b296af858f87aedc12213fd6cbe0c78336e375.zip FreeBSD-ports-f9b296af858f87aedc12213fd6cbe0c78336e375.tar.gz |
Fix build on FreeBSD 12
Reported by: pkg-fallout
-rw-r--r-- | sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake b/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake index f3f26ea..8e3c6c2 100644 --- a/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake +++ b/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake @@ -10,7 +10,7 @@ set( FREEBSD_RELEASE "${CMAKE_MATCH_1}" ) set( FREEBSD_MAJOR "${CMAKE_MATCH_2}" ) set( FREEBSD_MINOR "${CMAKE_MATCH_3}" ) -@@ -270,6 +271,15 @@ if(UNIX) +@@ -270,6 +271,18 @@ if(UNIX) set( CONDOR_FREEBSD7 ON ) elseif(FREEBSD_MAJOR MATCHES "8" ) set( CONDOR_FREEBSD8 ON ) @@ -23,6 +23,9 @@ + elseif(FREEBSD_MAJOR MATCHES "11" ) + set( CONDOR_FREEBSD11 ON ) + set( CONDOR_UTMPX ON ) ++ elseif(FREEBSD_MAJOR MATCHES "12" ) ++ set( CONDOR_FREEBSD12 ON ) ++ set( CONDOR_UTMPX ON ) endif() if( CMAKE_SYSTEM_PROCESSOR MATCHES "amd64" ) set( SYS_ARCH "x86_64") |