freebsd-ports/sysutils/condor/files/patch-build_cmake_CondorPackageConfig.cmake
Philip M. Gollucci 52e98e03cc sysutils/condor: update 8.2.6 -> 8.2.8
Update to latest stable release, canonicalize patch filenames, eliminate
GCC dependency and MAKE_JOBS_UNSAFE, replace files/condor_config.in with
version-specific example file provided in the dist, move sample files to
etc/*.sample, improvements to condor_config.local.sample and
condor-config script, make rc script more reliable by replacing fixed
sleep delays with more intelligent wait loops.

PR:                  200713
Submitted by:        jwbacon@tds.net (maintainer)
2015-07-10 04:07:17 +00:00

31 lines
1.1 KiB
CMake

--- build/cmake/CondorPackageConfig.cmake.orig 2015-04-07 15:10:11 UTC
+++ build/cmake/CondorPackageConfig.cmake
@@ -1,3 +1,4 @@
+
###############################################################
#
# Copyright 2011 Red Hat, Inc.
@@ -174,6 +175,23 @@ if(${OS_NAME} STREQUAL "DARWIN")
# enable if we desire native packaging.
# set ( CPACK_GENERATOR "${CPACK_GENERATOR};PackageMaker" ) ;
# set (CPACK_OSX_PACKAGE_VERSION)
+
+elseif ( ${OS_NAME} STREQUAL "FREEBSD" )
+
+ # Condor installs nothing useful to FreeBSD in C_INIT, so
+ # just tuck it out of the way. FreeBSD RC scripts come from
+ # the port's "files" directory.
+ set( C_INIT etc/condor )
+ set( C_ETC etc/condor )
+ set( C_CONFIGD etc/condor/config.d )
+ set( C_SYSCONFIG etc/condor/sysconfig )
+
+ set( C_ETC_EXAMPLES etc/condor/examples )
+ # Condor installs an "examples" directory into C_SHARE_EXAMPLES
+ # so set it to share/condor instead of share/condor/examples.
+ set( C_SHARE_EXAMPLES share/examples/condor )
+ set( C_DOC share/doc/condor )
+
elseif ( ${OS_NAME} MATCHES "WIN" )
# override for windows.