aboutsummaryrefslogtreecommitdiff
path: root/security/libssh
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-25 08:30:27 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-25 08:30:27 +0000
commitc55ac89dcdd6a84ca67f7888c69ebe78c1dac826 (patch)
tree123ddeae4f07536b3d89acc6409ce124aa06d373 /security/libssh
parentf7fc243237d967aba76bb0b8a954cf952eca0693 (diff)
Notes
Diffstat (limited to 'security/libssh')
-rw-r--r--security/libssh/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index 718731c6547c..d76e41c23405 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -46,8 +46,7 @@ post-patch:
-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
${WRKSRC}/CMakeLists.txt
- @${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads ${PTHREAD_LIBS}|' \
- -e 's|$${INCLUDE_INSTALL_DIR}|$${INCLUDE_INSTALL_DIR} ${PTHREAD_CFLAGS}|' \
+ @${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \
${WRKSRC}/libssh_threads.pc.cmake
@${REINPLACE_CMD} -e 's| -pedantic-errors||' \
${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake