pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libssh libssh: fix build on Solaris.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eeecbce123df
branches:  trunk
changeset: 344926:eeecbce123df
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Nov 28 09:25:52 2019 +0000

description:
libssh: fix build on Solaris.

>From Joern Clausen in PR pkg/54694.

diffstat:

 security/libssh/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f94efa78b4c3 -r eeecbce123df security/libssh/Makefile
--- a/security/libssh/Makefile  Thu Nov 28 09:23:32 2019 +0000
+++ b/security/libssh/Makefile  Thu Nov 28 09:25:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2019/11/23 08:45:45 mef Exp $
+# $NetBSD: Makefile,v 1.33 2019/11/28 09:25:52 bsiegert Exp $
 #
 # history: upstream renamed 0.11 to 0.1.1;
 # we have to use the old-style convention so that version compares work.
@@ -25,6 +25,8 @@
 CMAKE_ARG_PATH=                ${WRKSRC}
 CMAKE_ARGS+=           -DUNIT_TESTING=ON
 
+LDFLAGS.SunOS+=                -lnsl -lsocket
+
 BUILDLINK_TRANSFORM+=  rm:-Werror=strict-overflow
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index