pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libslirp libslirp: needs -lsocket on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a325c07031f3
branches:  trunk
changeset: 377892:a325c07031f3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 25 09:17:22 2022 +0000

description:
libslirp: needs -lsocket on SunOS

diffstat:

 net/libslirp/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d7a36cf5f71a -r a325c07031f3 net/libslirp/Makefile
--- a/net/libslirp/Makefile     Mon Apr 25 09:13:52 2022 +0000
+++ b/net/libslirp/Makefile     Mon Apr 25 09:17:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/04/25 06:27:10 nia Exp $
+# $NetBSD: Makefile,v 1.4 2022/04/25 09:17:22 tnn Exp $
 
 DISTNAME=      libslirp-4.6.1
 CATEGORIES=    net
@@ -17,6 +17,8 @@
 PKGCONFIG_OVERRIDE_STAGE=      pre-install
 PKGCONFIG_OVERRIDE+=           output/meson-private/slirp.pc
 
+LDFLAGS.SunOS+=                -lsocket
+
 .include "../../devel/meson/build.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index