summaryrefslogtreecommitdiff
path: root/games/xfrisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xfrisk/Makefile')
-rw-r--r--games/xfrisk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 9deee1deef6..24bb34d60d7 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+# $NetBSD: Makefile,v 1.2 2002/02/28 17:23:13 wiz Exp $
#
DISTNAME= xfrisk-1.2
@@ -18,4 +18,10 @@ RESTRICTED= "Possible trademark infringement"
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= LIBS="-lsocket -lnsl"
+.endif
+
.include "../../mk/bsd.pkg.mk"