summaryrefslogtreecommitdiff
path: root/net/poink/Makefile
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-02-22 14:16:06 +0000
committerwiedi <wiedi@pkgsrc.org>2014-02-22 14:16:06 +0000
commitbabd18a1530fee39eaddf3fdc75f2a19910a158a (patch)
tree84a622800213d6ac32f9a4519809ae640bf9e13b /net/poink/Makefile
parent824f05ef64a36d544097ddbe9f936ea04fca7709 (diff)
downloadpkgsrc-babd18a1530fee39eaddf3fdc75f2a19910a158a.tar.gz
Link network libs on SunOS
Diffstat (limited to 'net/poink/Makefile')
-rw-r--r--net/poink/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/poink/Makefile b/net/poink/Makefile
index f46e689b094..9b2f55efa4d 100644
--- a/net/poink/Makefile
+++ b/net/poink/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/10/23 17:18:59 asau Exp $
+# $NetBSD: Makefile,v 1.15 2014/02/22 14:16:06 wiedi Exp $
#
DISTNAME= poink-1.6
@@ -12,6 +12,8 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/poink ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ping.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/poink.1