summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi>2016-12-03 20:23:44 +0000
committerwiedi <wiedi>2016-12-03 20:23:44 +0000
commita6e5e6e097c1b7c1a4a9b8da33dbaec0bcdda41f (patch)
tree08079acf161c60a53159eec9cfdbb88d1e9d3f24
parent52c57af8cacbfd94358ec6c0243232aa8c9b6ae7 (diff)
downloadpkgsrc-a6e5e6e097c1b7c1a4a9b8da33dbaec0bcdda41f.tar.gz
link network libs on SunOS
-rw-r--r--cross/stlink/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cross/stlink/Makefile b/cross/stlink/Makefile
index 350a96687d2..7924a8f852e 100644
--- a/cross/stlink/Makefile
+++ b/cross/stlink/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/05/07 09:05:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2016/12/03 20:23:44 wiedi Exp $
DISTNAME= stlink-1.2.0
CATEGORIES= cross
@@ -14,6 +14,8 @@ LICENSE= modified-bsd
USE_TOOLS+= automake pkg-config
GNU_CONFIGURE= yes
+LDFLAGS.SunOS+= -lsocket -lnsl
+
pre-configure:
cd ${WRKSRC} && \
aclocal; autoheader; automake -a --foreign -i; autoconf