summaryrefslogtreecommitdiff
path: root/games/xtris
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-12-19 12:40:48 +0000
committerrillig <rillig@pkgsrc.org>2006-12-19 12:40:48 +0000
commitfbf5039eb88d8deb92b27573fd2e6c04df3b0414 (patch)
tree166e0e99641573ade96bc100be3b43691a653579 /games/xtris
parentb3f50080ab819423fcbbf201567d3175007c92d8 (diff)
downloadpkgsrc-fbf5039eb88d8deb92b27573fd2e6c04df3b0414.tar.gz
Fixed the build on Solaris.
Diffstat (limited to 'games/xtris')
-rw-r--r--games/xtris/Makefile4
-rw-r--r--games/xtris/distinfo4
-rw-r--r--games/xtris/patches/patch-aa4
3 files changed, 7 insertions, 5 deletions
diff --git a/games/xtris/Makefile b/games/xtris/Makefile
index 3628dbf827b..c48df36b653 100644
--- a/games/xtris/Makefile
+++ b/games/xtris/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/19 12:28:00 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2006/12/19 12:40:48 rillig Exp $
#
DISTNAME= xtris-1.15
@@ -12,6 +12,8 @@ COMMENT= Multi-player version of a popular game for the X Window system
WRKSRC= ${WRKDIR}/xtris
USE_X11BASE= yes
+LIBS.SunOS+= -lsocket -lnsl
+MAKE_ENV+= LIBS=${LIBS:Q}
.include "options.mk"
diff --git a/games/xtris/distinfo b/games/xtris/distinfo
index 91941ffe18a..f51243f31c7 100644
--- a/games/xtris/distinfo
+++ b/games/xtris/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 23:12:05 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/12/19 12:40:48 rillig Exp $
SHA1 (xtris-1.15.tar.gz) = 157eb642ada6d72290acf3d4d2638ec04f8de878
RMD160 (xtris-1.15.tar.gz) = 7d5fe32c8187e653fa40451e51c6ddd7fd58ab33
Size (xtris-1.15.tar.gz) = 52130 bytes
-SHA1 (patch-aa) = e298e2dc329c64dea801bd6f85df092cb0af77ad
+SHA1 (patch-aa) = 77fc97b763da632bf867a75f17ffd38dad3ff28d
SHA1 (patch-ab) = 80c184220576c61236a5b50facaf27693013d38f
SHA1 (patch-ac) = 4f2e5c94b22032da6bee13ce451fe98a78982c61
SHA1 (patch-ad) = 7047fe19e0e951624f258981015875e054aa14d3
diff --git a/games/xtris/patches/patch-aa b/games/xtris/patches/patch-aa
index 942d2100a8f..995a826fae8 100644
--- a/games/xtris/patches/patch-aa
+++ b/games/xtris/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2002/09/23 10:31:25 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2006/12/19 12:40:48 rillig Exp $
--- Makefile.orig Fri Jan 25 13:42:54 2002
+++ Makefile
@@ -26,7 +26,7 @@ $NetBSD: patch-aa,v 1.3 2002/09/23 10:31:25 jlam Exp $
-
-# specify X11 libdir if your system needs it
-# XLIBDIR = -L/usr/X11/lib
-+EXTRALIBS = $(IPV6_LDFLAGS) #-lnsl -lsocket
++EXTRALIBS = $(IPV6_LDFLAGS) $(LIBS) #-lnsl -lsocket
+# specify X11 cflags and libdir if your system needs it
+XCFLAGS = -I${X11BASE}/include -Wl,-R${X11BASE}/lib