summaryrefslogtreecommitdiff
path: root/news/newsfetch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/newsfetch/Makefile')
-rw-r--r--news/newsfetch/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/news/newsfetch/Makefile b/news/newsfetch/Makefile
index 5895d5a373c..f22dc6ecbd5 100644
--- a/news/newsfetch/Makefile
+++ b/news/newsfetch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/03/29 12:42:08 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/22 21:12:17 wiz Exp $
#
DISTNAME= newsfetch-1.3
@@ -12,4 +12,10 @@ COMMENT= Downloads newsgroup messages in mail file format
USE_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl -lresolv
+.endif
+
.include "../../mk/bsd.pkg.mk"