svn commit: r516310 - in head/net/librsync2: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Nov 2 12:22:17 UTC 2019
Author: tcberner
Date: Sat Nov 2 12:22:16 2019
New Revision: 516310
URL: https://svnweb.freebsd.org/changeset/ports/516310
Log:
net/librsync2: Fix upgrade from 2.0.2
- adds patch to workaround previous installations files.
PR: 241652
Submitted by: Neel Chauhan <neel at neelc.org> (maintainer)
Added:
head/net/librsync2/files/
head/net/librsync2/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/net/librsync2/Makefile
Modified: head/net/librsync2/Makefile
==============================================================================
--- head/net/librsync2/Makefile Sat Nov 2 12:21:03 2019 (r516309)
+++ head/net/librsync2/Makefile Sat Nov 2 12:22:16 2019 (r516310)
@@ -3,6 +3,7 @@
PORTNAME= librsync
PORTVERSION= 2.2.1
+PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= net devel
PKGNAMESUFFIX= 2
Added: head/net/librsync2/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/librsync2/files/patch-CMakeLists.txt Sat Nov 2 12:22:16 2019 (r516310)
@@ -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 ###############
More information about the svn-ports-head
mailing list