aboutsummaryrefslogtreecommitdiff
path: root/security/libssh
diff options
context:
space:
mode:
authorAlexander Logvinov <avl@FreeBSD.org>2009-07-23 23:42:01 +0000
committerAlexander Logvinov <avl@FreeBSD.org>2009-07-23 23:42:01 +0000
commit5a1851f6ef363e9229c6b3bd516f4a04a674fab1 (patch)
treef83fee1da2030bf8f3e044116262a65e4389d34e /security/libssh
parent739866f5434f70f1952e7ce97addb0e380126e45 (diff)
downloadports-5a1851f6ef363e9229c6b3bd516f4a04a674fab1.tar.gz
ports-5a1851f6ef363e9229c6b3bd516f4a04a674fab1.zip
Notes
Diffstat (limited to 'security/libssh')
-rw-r--r--security/libssh/files/patch-CMakeLists.txt19
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)