Subject: Re: pkg/29388 games/falcons-eye fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 02/17/2005 18:12:02
The following reply was made to PR pkg/29388; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/29388 games/falcons-eye fails to build
Date: Thu, 17 Feb 2005 10:11:37 -0800 (PST)

 I was able to get this to build and install with the following patches.
 I will be posting to tech-pkg about this because tools.mk is wrong.
 
 This is to be added as patch-bk and then other patches are below.
 
 $NetBSD$
 
 --- sys/unix/Makefile.utl.orig	2001-06-24 18:57:24.000000000 -0700
 +++ sys/unix/Makefile.utl
 @@ -97,8 +97,8 @@ LIBS =
 
  # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
  # if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
 -YACC     = yacc
 -LEX      = lex
 +#YACC     = yacc
 +#LEX      = lex
  # YACC     = bison -y
  # YACC     = byacc
  # LEX      = flex
 
 
 
 ? games/falcons-eye/patches/patch-bk
 Index: games/falcons-eye/Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/games/falcons-eye/Makefile,v
 retrieving revision 1.19
 diff -b -u -r1.19 Makefile
 --- games/falcons-eye/Makefile	16 Feb 2005 18:56:22 -0000	1.19
 +++ games/falcons-eye/Makefile	17 Feb 2005 17:56:36 -0000
 @@ -19,6 +19,8 @@
 
  WRKSRC=			${WRKDIR}
  USE_BUILDLINK3=		yes
 +USE_GNU_TOOLS+=		lex yacc
 +MAKE_ENV+=		YACC="${YACC}"
  USE_X11=		yes
 
  LIBS.SunOS+=		-lm
 Index: games/falcons-eye/distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/games/falcons-eye/distinfo,v
 retrieving revision 1.7
 diff -b -u -r1.7 distinfo
 --- games/falcons-eye/distinfo	16 Feb 2005 18:56:22 -0000	1.7
 +++ games/falcons-eye/distinfo	17 Feb 2005 17:56:36 -0000
 @@ -17,3 +17,4 @@
  SHA1 (patch-bh) = 65bf424d1e60b0ee9b9acc8b04359f2f4621e605
  SHA1 (patch-bi) = 6b3d0d1eca3a23c3086155c1da3c2965d7092d5f
  SHA1 (patch-bj) = 281f1d3b8d9eafe7fbe7ca729861d4bdccea5a41
 +SHA1 (patch-bk) = f234c26a95d179c4723676c180db95f26c84bb49
 
  Jeremy C. Reed
 
  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/