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/969d07559f1b
branches:  trunk
changeset: 418573:969d07559f1b
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 4b34af31a919 -r 969d07559f1b 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