summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_select/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_select/Makefile')
-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 \