diff options
author | avl <avl@FreeBSD.org> | 2009-07-24 07:42:01 +0800 |
---|---|---|
committer | avl <avl@FreeBSD.org> | 2009-07-24 07:42:01 +0800 |
commit | 8d965acb79248bfd4cc28370cb47ea8c8255a3dc (patch) | |
tree | 2ee6be5692a6549d9bd0f3bf2acc21783c3b46ce /security/libssh | |
parent | 1e6c76d60e9bbc4bda5602417db8263243a0316f (diff) | |
download | freebsd-ports-gnome-8d965acb79248bfd4cc28370cb47ea8c8255a3dc.tar.gz freebsd-ports-gnome-8d965acb79248bfd4cc28370cb47ea8c8255a3dc.tar.zst freebsd-ports-gnome-8d965acb79248bfd4cc28370cb47ea8c8255a3dc.zip |
- Attempt to fix build on FreeBSD 8.x
Reported by: pointyhat via erwin
Approved by: tabthorpe (mentor)
Diffstat (limited to 'security/libssh')
-rw-r--r-- | security/libssh/files/patch-CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/libssh/files/patch-CMakeLists.txt b/security/libssh/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..10b2bf88da68 --- /dev/null +++ b/security/libssh/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2009-07-14 18:53:07.000000000 +1000 ++++ CMakeLists.txt 2009-07-23 21:41:59.000000000 +1000 +@@ -55,16 +55,3 @@ + add_subdirectory(doc) + add_subdirectory(include) + add_subdirectory(libssh) +- +-# build samples +-include_directories(${CMAKE_SOURCE_DIR}/include) +- +-if (UNIX AND NOT WIN32) +- if (WITH_SFTP AND WITH_SERVER) +- add_executable(samplessh sample.c) +- add_executable(samplesshd samplesshd.c) +- +- target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY}) +- target_link_libraries(samplesshd ${LIBSSH_SHARED_LIBRARY}) +- endif (WITH_SFTP AND WITH_SERVER) +-endif (UNIX AND NOT WIN32) |