mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
--- src/CMakeLists.txt 2022-07-21 02:20:24.000000000 -0500
|
|
+++ src/CMakeLists.txt 2022-07-31 19:00:06.378204000 -0500
|
|
@@ -32,7 +32,9 @@
|
|
pkg_check_modules (LIBGVM_GMP REQUIRED libgvm_gmp>=22.4)
|
|
pkg_check_modules (GNUTLS REQUIRED gnutls>=3.2.15)
|
|
pkg_check_modules (GLIB REQUIRED glib-2.0>=2.42)
|
|
+if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
pkg_check_modules (LIBBSD REQUIRED libbsd)
|
|
+endif()
|
|
pkg_check_modules (LIBICAL REQUIRED libical>=1.00)
|
|
|
|
message (STATUS "Looking for PostgreSQL...")
|
|
@@ -271,7 +273,7 @@
|
|
${GNUTLS_LDFLAGS} ${GPGME_LDFLAGS} ${CMAKE_THREAD_LIBS_INIT} ${LINKER_HARDENING_FLAGS} ${LINKER_DEBUG_FLAGS}
|
|
${PostgreSQL_LIBRARIES} ${LIBBSD_LDFLAGS} ${GLIB_LDFLAGS} ${GTHREAD_LDFLAGS}
|
|
${LIBGVM_BASE_LDFLAGS} ${LIBGVM_UTIL_LDFLAGS} ${LIBGVM_OSP_LDFLAGS} ${LIBGVM_GMP_LDFLAGS}
|
|
- ${LIBICAL_LDFLAGS} ${LINKER_HARDENING_FLAGS} ${OPT_THEIA_TGT})
|
|
+ ${LIBICAL_LDFLAGS} ${LINKER_HARDENING_FLAGS} ${OPT_THEIA_TGT} -lexecinfo)
|
|
target_link_libraries (manage-test cgreen m
|
|
${GNUTLS_LDFLAGS} ${GPGME_LDFLAGS} ${CMAKE_THREAD_LIBS_INIT} ${LINKER_HARDENING_FLAGS} ${LINKER_DEBUG_FLAGS}
|
|
${PostgreSQL_LIBRARIES} ${LIBBSD_LDFLAGS} ${GLIB_LDFLAGS} ${GTHREAD_LDFLAGS}
|
|
@@ -489,5 +491,7 @@
|
|
COMMAND ctags ${C_FILES})
|
|
add_custom_target (tags COMMENT "Building tags files...")
|
|
add_dependencies (tags etags ctags)
|
|
+
|
|
+file(RENAME "pwpolicy.conf" "pwpolicy.conf.sample")
|
|
|
|
## End
|