mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 08:30:37 -04:00
- Rewrite dependencies - Pass maintainership to submitter PR: ports/166733 Submitted by: Jason Bacon <jwbacon@tds.net> Approved by: Andy Pavlo <pavlo@cs.brown.edu> (former maintainer)
24 lines
1 KiB
CMake
24 lines
1 KiB
CMake
--- build/cmake/macros/SystemSpecificInformations.cmake.orig 2012-01-17 16:53:14.000000000 +0000
|
|
+++ build/cmake/macros/SystemSpecificInformations.cmake 2012-05-06 17:29:25.053492551 +0100
|
|
@@ -230,7 +230,8 @@
|
|
endif(EXISTS "/etc/issue")
|
|
|
|
elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
|
- string(REGEX MATCH "(([0-9]+)\\.([0-9]+))-RELEASE" FREEBSD "${CMAKE_SYSTEM_VERSION}")
|
|
+ # Match x.x-RELEASE, x.x-BETA1, etc.
|
|
+ string(REGEX MATCH "(([0-9]+)\\.([0-9]+))-([A-Z0-9])+" FREEBSD "${CMAKE_SYSTEM_VERSION}")
|
|
set( FREEBSD_RELEASE "${CMAKE_MATCH_1}" )
|
|
set( FREEBSD_MAJOR "${CMAKE_MATCH_2}" )
|
|
set( FREEBSD_MINOR "${CMAKE_MATCH_3}" )
|
|
@@ -248,6 +249,11 @@
|
|
set( CONDOR_FREEBSD7 ON )
|
|
elseif(FREEBSD_MAJOR MATCHES "8" )
|
|
set( CONDOR_FREEBSD8 ON )
|
|
+ elseif(FREEBSD_MAJOR MATCHES "9" )
|
|
+ set( CONDOR_FREEBSD9 ON )
|
|
+ elseif(FREEBSD_MAJOR MATCHES "10" )
|
|
+ set( CONDOR_FREEBSD10 ON )
|
|
+ set( CONDOR_FREEBSD9 ON )
|
|
endif()
|
|
if( CMAKE_SYSTEM_PROCESSOR MATCHES "amd64" )
|
|
set( SYS_ARCH "x86_64")
|