diff options
author | bouyer <bouyer> | 2002-10-26 20:04:31 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2002-10-26 20:04:31 +0000 |
commit | ad237605f1b3bef1062736fad190a26581a36bcd (patch) | |
tree | 5042c4189a7b2835fc4a4710a1aeddc51c01b8a8 | |
parent | 40d3f60df3d590f0e57d1f0cc746230f492e871c (diff) | |
download | pkgsrc-ad237605f1b3bef1062736fad190a26581a36bcd.tar.gz |
Use lex instead of flex on SunOS, as configure fails to find -lfl
XXX Maybe we need a buildlink2 file for the flex package ?
-rw-r--r-- | games/gnome-chess/Makefile | 7 | ||||
-rw-r--r-- | games/gnome-chess/distinfo | 3 | ||||
-rw-r--r-- | games/gnome-chess/patches/patch-ab | 13 |
3 files changed, 21 insertions, 2 deletions
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile index 30c96763001..2cc66e9bf12 100644 --- a/games/gnome-chess/Makefile +++ b/games/gnome-chess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/10/19 10:54:52 rh Exp $ +# $NetBSD: Makefile,v 1.13 2002/10/26 20:04:31 bouyer Exp $ DISTNAME= gnome-chess-0.3.3 PKGREVISION= 3 @@ -16,3 +16,8 @@ CONFIGURE_ARGS+= --localstatedir=${X11PREFIX}/var/lib .include "../../x11/gnome-core/buildlink2.mk" .include "../../mk/bsd.pkg.mk" + +.if ${OPSYS} == "SunOS" +LEX= lex +CONFIGURE_ENV+= LEX=${LEX} +.endif diff --git a/games/gnome-chess/distinfo b/games/gnome-chess/distinfo index 2ba5324ca09..6e4fd5f6e03 100644 --- a/games/gnome-chess/distinfo +++ b/games/gnome-chess/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2001/10/07 14:00:43 rh Exp $ +$NetBSD: distinfo,v 1.5 2002/10/26 20:04:31 bouyer Exp $ SHA1 (gnome-chess-0.3.3.tar.gz) = a8af8cb2ad11b455547fb2b6712c554777c69fd3 Size (gnome-chess-0.3.3.tar.gz) = 342099 bytes SHA1 (patch-aa) = 51d5d8b4266cb2c97035344b13a6456a30ac1306 +SHA1 (patch-ab) = d95180e805dac3979c2eadb760ef6aecf9d02d03 diff --git a/games/gnome-chess/patches/patch-ab b/games/gnome-chess/patches/patch-ab new file mode 100644 index 00000000000..14624f8c94e --- /dev/null +++ b/games/gnome-chess/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2002/10/26 20:04:32 bouyer Exp $ + +--- src/Makefile.in.orig Tue Oct 22 23:46:49 2002 ++++ src/Makefile.in Tue Oct 22 23:47:08 2002 +@@ -132,7 +132,7 @@ + gnome_chess_SOURCES = board-window.c board-window.h board.c board.h board_info.c board_info.h board_window_menu.c board_window_menu.h child.c child.h common.c common.h debug.c debug.h engine.c engine.h engine_ics.c engine_ics.h engine_ics_scan.h engine_ics_scan.l engine_local.c engine_local.h engine_null.c engine_null.h engine-pgn.c engine-pgn.h game-view.c game-view.h main.c makros.h movlist.c movlist.h notation.c notation.h pgn.c pgn.h position.c position.h prefs.c prefs.h server-term.c server-term.h sound.c sound.h timer.c timer.h + + +-gnome_chess_LDADD = -lfl dialogs/libdialogs.a $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(ZVT_LIBS) $(EXTRA_GNOME_LIBS) ++gnome_chess_LDADD = @LEXLIB@ dialogs/libdialogs.a $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(ZVT_LIBS) $(EXTRA_GNOME_LIBS) + + + imagesdir = $(datadir)/pixmaps/gnome-chess |