summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans>2012-01-12 15:56:57 +0000
committerhans <hans>2012-01-12 15:56:57 +0000
commitaac924eac2841dcd4b0d942aa2456da78485b426 (patch)
tree7e29eb35e14c668d662fb4b72d5ca1b72c646ee0
parent03d7790958fdb48af169887466935f7d65edc1d6 (diff)
downloadpkgsrc-aac924eac2841dcd4b0d942aa2456da78485b426.tar.gz
Fix build on SunOS.
-rw-r--r--net/xmftp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/xmftp/Makefile b/net/xmftp/Makefile
index 2473fec1ffc..e3c3e2b5571 100644
--- a/net/xmftp/Makefile
+++ b/net/xmftp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/12/09 14:36:33 drochner Exp $
+# $NetBSD: Makefile,v 1.19 2012/01/12 15:56:57 hans Exp $
#
DISTNAME= xmftp-1.0.4
@@ -18,6 +18,8 @@ USE_TOOLS+= gmake
INSTALLATION_DIRS= bin share/doc/xmftp
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmftp ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/../BUGS ${DESTDIR}${PREFIX}/share/doc/xmftp