summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_select
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-09 10:03:21 +0000
committernia <nia@pkgsrc.org>2019-09-09 10:03:21 +0000
commitf1bfbc92ce413be71cfb331d2eb1604e2b9edd5a (patch)
tree6e3d7a7736c241201a45c365d230849577b20d56 /pkgtools/pkg_select
parent0426ab1efaec37d98d3d4eaa8366eef12760b3e5 (diff)
downloadpkgsrc-f1bfbc92ce413be71cfb331d2eb1604e2b9edd5a.tar.gz
pkg_select: Add networking libs on SunOS
Diffstat (limited to 'pkgtools/pkg_select')
-rw-r--r--pkgtools/pkg_select/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile
index b31322d312f..a4fa341c7a3 100644
--- a/pkgtools/pkg_select/Makefile
+++ b/pkgtools/pkg_select/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2019/09/07 23:18:57 nia Exp $
+# $NetBSD: Makefile,v 1.28 2019/09/09 10:03:21 nia Exp $
#
DISTNAME= pkg_select-20090308
@@ -38,6 +38,8 @@ SUBST_SED.path+= -e "s|/usr/bin/make|${MAKE}|g"
CFLAGS+= -DPKGTOOLS_PATH=\"${PKG_TOOLS_BIN}\"
+LDFLAGS.SunOS+= -lresolv -lsocket -lnsl
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pkg_select ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.conf.example \