summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xfrisk/Makefile7
-rw-r--r--games/xfrisk/distinfo4
-rw-r--r--games/xfrisk/patches/patch-aa10
3 files changed, 14 insertions, 7 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 8be87cf1f2d..cff15c4c7bc 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/02/22 19:26:31 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2007/11/20 18:44:14 rillig Exp $
#
DISTNAME= xfrisk-1.2
@@ -19,9 +19,8 @@ NO_BIN_ON_CDROM=${RESTRICTED}
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+= LIBS="-lsocket -lnsl"
-.endif
+LIBS.SunOS= -lsocket -lnsl
+MAKE_ENV+= LIBS=${LIBS:Q}
# xfrisk doesn't work with standard Xaw.
XAW_TYPE?= 3d
diff --git a/games/xfrisk/distinfo b/games/xfrisk/distinfo
index 6325d6e2825..2322bc46085 100644
--- a/games/xfrisk/distinfo
+++ b/games/xfrisk/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 23:12:04 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/11/20 18:44:14 rillig Exp $
SHA1 (xfrisk-1.2.tar.gz) = 2a82c4be95e151fd34f816aaa125f3eb237c28be
RMD160 (xfrisk-1.2.tar.gz) = 7e55be2742bf9b2db40cc10156a6ff615bc37e7a
Size (xfrisk-1.2.tar.gz) = 228943 bytes
-SHA1 (patch-aa) = 1516178346e7c7913512945a877da23ce29e7a64
+SHA1 (patch-aa) = 6b8ddeadccf686e4e380ed07f6ad8559e0d6bce7
diff --git a/games/xfrisk/patches/patch-aa b/games/xfrisk/patches/patch-aa
index 64eea411c5a..c45654f8aec 100644
--- a/games/xfrisk/patches/patch-aa
+++ b/games/xfrisk/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2003/09/30 08:26:51 xtraeme Exp $
+$NetBSD: patch-aa,v 1.4 2007/11/20 18:44:14 rillig Exp $
--- Makefile.orig 2003-09-30 10:18:48.000000000 +0200
+++ Makefile 2003-09-30 10:20:04.000000000 +0200
@@ -45,3 +45,11 @@ $NetBSD: patch-aa,v 1.3 2003/09/30 08:26:51 xtraeme Exp $
XINC=-I$(XDIR)/include
CFLAGS+=$(XINC)
+@@ -106,7 +106,6 @@
+ # System V (Solaris, Irix, etc.) will probably want -lsocket -lnsl.
+ #LIBS=-lsocket -lnsl
+ # on other systems leave LIBS blank for now
+-LIBS=
+
+ # On some systems -DNARROWPROTO is needed for working Xaw scrollbars
+ # This includes FreeBSD 3.x and recent Linux