diff options
| author | John Marino <marino@FreeBSD.org> | 2015-03-25 08:30:27 +0000 |
|---|---|---|
| committer | John Marino <marino@FreeBSD.org> | 2015-03-25 08:30:27 +0000 |
| commit | c55ac89dcdd6a84ca67f7888c69ebe78c1dac826 (patch) | |
| tree | 123ddeae4f07536b3d89acc6409ce124aa06d373 /security/libssh | |
| parent | f7fc243237d967aba76bb0b8a954cf952eca0693 (diff) | |
Notes
Diffstat (limited to 'security/libssh')
| -rw-r--r-- | security/libssh/Makefile | 3 |
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 |
