summaryrefslogtreecommitdiff
path: root/net/librsync/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-02 11:58:44 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-02 11:58:44 +0000
commit452a10af6cfcbcd01883507fcb9017934a4af241 (patch)
treefce77126e9f645dc368fce601c1812a28e3cb7ee /net/librsync/files/patch-CMakeLists.txt
parentastro/qmapshack: Update version 1.14.0=>1.14.1 (diff)
Move net/librsync2 to net/librsync
- Bump PORTREVISION of dependent ports for dependency change net/librsync was removed from ports tree almost 3 years ago. from MOVED: net/librsync|net/librsync2|2017-04-28|Unmaintained, CVE-2014-8242, use net/librsync2 instead
Diffstat (limited to 'net/librsync/files/patch-CMakeLists.txt')
-rw-r--r--net/librsync/files/patch-CMakeLists.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/librsync/files/patch-CMakeLists.txt b/net/librsync/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..9dd6b24bd2d9
--- /dev/null
+++ b/net/librsync/files/patch-CMakeLists.txt
@@ -0,0 +1,28 @@
+--- CMakeLists.txt.orig 2019-11-01 17:45:34.100156000 -0400
++++ CMakeLists.txt 2019-11-01 17:46:14.856811000 -0400
+@@ -158,6 +158,12 @@
+ message (STATUS "BUILD_HOSTNAME = ${BUILD_HOSTNAME}")
+ message (STATUS "CMAKE_SYSTEM = ${CMAKE_SYSTEM}")
+
++# We need to be able to #include "file" from a few places,
++# * The original source dir
++# * The generated source dir
++include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
++include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
++
+ # Find POPT
+ find_package(POPT)
+ if (POPT_FOUND)
+@@ -314,12 +320,6 @@
+
+ # Create conf files
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h)
+-
+-# We need to be able to #include "file" from a few places,
+-# * The original source dir
+-# * The generated source dir
+-include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
+-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
+
+
+ ########### next target ###############