pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xfrisk Made the package build on Solaris.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/134be8235fd0
branches:  trunk
changeset: 535518:134be8235fd0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 20 18:44:14 2007 +0000

description:
Made the package build on Solaris.

diffstat:

 games/xfrisk/Makefile         |   7 +++----
 games/xfrisk/distinfo         |   4 ++--
 games/xfrisk/patches/patch-aa |  10 +++++++++-
 3 files changed, 14 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 2ae58c31f7fe -r 134be8235fd0 games/xfrisk/Makefile
--- a/games/xfrisk/Makefile     Tue Nov 20 18:21:03 2007 +0000
+++ b/games/xfrisk/Makefile     Tue Nov 20 18:44:14 2007 +0000
@@ -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 @@
 
 .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 -r 2ae58c31f7fe -r 134be8235fd0 games/xfrisk/distinfo
--- a/games/xfrisk/distinfo     Tue Nov 20 18:21:03 2007 +0000
+++ b/games/xfrisk/distinfo     Tue Nov 20 18:44:14 2007 +0000
@@ -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 -r 2ae58c31f7fe -r 134be8235fd0 games/xfrisk/patches/patch-aa
--- a/games/xfrisk/patches/patch-aa     Tue Nov 20 18:21:03 2007 +0000
+++ b/games/xfrisk/patches/patch-aa     Tue Nov 20 18:44:14 2007 +0000
@@ -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 @@
  
  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



Home | Main Index | Thread Index | Old Index