summaryrefslogtreecommitdiff
path: root/mail/postsrsd/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postsrsd/files/patch-CMakeLists.txt')
-rw-r--r--mail/postsrsd/files/patch-CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/postsrsd/files/patch-CMakeLists.txt b/mail/postsrsd/files/patch-CMakeLists.txt
index c284977a6300..ec69da464b17 100644
--- a/mail/postsrsd/files/patch-CMakeLists.txt
+++ b/mail/postsrsd/files/patch-CMakeLists.txt
@@ -25,8 +25,8 @@
find_library(LIBSOCKET socket)
find_library(LIBNSL nsl)
-@@ -46,26 +47,6 @@ if(HAVE_TIME_H)
- add_definitions(-DHAVE_TIME_H)
+@@ -54,26 +55,6 @@ if(HAVE_SYS_TYPES_H)
+ add_definitions(-DHAVE_SYS_TYPES_H)
endif()
-if(NOT DEFINED INIT_FLAVOR)
@@ -52,7 +52,7 @@
add_executable(${PROJECT_NAME} postsrsd.c sha1.c srs2.c)
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
-@@ -74,15 +55,7 @@ endif()
+@@ -82,15 +63,7 @@ endif()
get_target_property(POSTSRSD ${PROJECT_NAME} LOCATION)
get_filename_component(POSTSRSD ${POSTSRSD} NAME_WE)
@@ -68,7 +68,7 @@
configure_file(init/${PROJECT_NAME}.default.in ${PROJECT_NAME}.default @ONLY)
configure_file(postinstall.cmake.in postinstall.cmake @ONLY)
-@@ -92,7 +65,7 @@ add_custom_command(TARGET ${PROJECT_NAME
+@@ -100,7 +73,7 @@ add_custom_command(TARGET ${PROJECT_NAME
COMMAND ${HELP2MAN} ARGS -s8 -o${PROJECT_NAME}.8 -n "Postfix Sender Rewriting Scheme daemon" -N -h-h -v-v ${CMAKE_CURRENT_BINARY_DIR}/${POSTSRSD}
VERBATIM
)
@@ -77,7 +77,7 @@
endif()
if(USE_APPARMOR)
-@@ -100,6 +73,8 @@ if(USE_APPARMOR)
+@@ -108,6 +81,8 @@ if(USE_APPARMOR)
endif()
install(TARGETS ${PROJECT_NAME} DESTINATION "sbin")