From f88a9290b6fc7cdec2e1b190a68b333e15e76dc5 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 23 Jul 2016 10:33:34 +0000 Subject: [PATCH] Fix build on FreeBSD 12 Reported by: pkg-fallout --- ...patch-build_cmake_macros_SystemSpecificInformations.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake b/sysutils/condor/files/patch-build_cmake_macros_SystemSpecificInformations.cmake index f3f26ea1b772..8e3c6c2832f2 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 ) @@ -22,6 +22,9 @@ + set( CONDOR_UTMPX ON ) + 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" )