summaryrefslogtreecommitdiff
path: root/games/xfrisk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-02-28 17:23:13 +0000
committerwiz <wiz@pkgsrc.org>2002-02-28 17:23:13 +0000
commite75bbe8771fa5f13406b205ccbd97466d310c020 (patch)
tree16a8648ff8ec857a5f4a0410036d0070ae198c04 /games/xfrisk
parentda63540a46496623b2d7c602313c11cc9986115c (diff)
downloadpkgsrc-e75bbe8771fa5f13406b205ccbd97466d310c020.tar.gz
Fix build on Solaris. Patch provided by Jonathan Perkin in pkg/15763.
Diffstat (limited to 'games/xfrisk')
-rw-r--r--games/xfrisk/Makefile8
-rw-r--r--games/xfrisk/distinfo4
-rw-r--r--games/xfrisk/patches/patch-aa11
3 files changed, 19 insertions, 4 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"
diff --git a/games/xfrisk/distinfo b/games/xfrisk/distinfo
index e7c1a8c3eac..ec9b2881ecb 100644
--- a/games/xfrisk/distinfo
+++ b/games/xfrisk/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+$NetBSD: distinfo,v 1.2 2002/02/28 17:23:13 wiz Exp $
SHA1 (xfrisk-1.2.tar.gz) = 2a82c4be95e151fd34f816aaa125f3eb237c28be
Size (xfrisk-1.2.tar.gz) = 228943 bytes
-SHA1 (patch-aa) = 40154a400df95bd96098e44b406836feefa61bc2
+SHA1 (patch-aa) = a0dc10df6b8857066addb4b0094507e048433c89
diff --git a/games/xfrisk/patches/patch-aa b/games/xfrisk/patches/patch-aa
index 7690010e82e..fd8226bf420 100644
--- a/games/xfrisk/patches/patch-aa
+++ b/games/xfrisk/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+$NetBSD: patch-aa,v 1.2 2002/02/28 17:23:14 wiz Exp $
--- Makefile.orig Sun Feb 24 21:34:38 2002
+++ Makefile Sun Feb 24 22:01:06 2002
@@ -27,3 +27,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
XLIBS=-L$(XDIR)/lib -l$(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
+@@ -106,7 +106,7 @@
+ # System V (Solaris, Irix, etc.) will probably want -lsocket -lnsl.
+ #LIBS=-lsocket -lnsl
+ # on other systems leave LIBS blank for now
+-LIBS=
++#LIBS=
+
+ # On some systems -DNARROWPROTO is needed for working Xaw scrollbars
+ # This includes FreeBSD 3.x and recent Linux