summaryrefslogtreecommitdiff
path: root/games/gnome-chess/Makefile
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-10-26 20:04:31 +0000
committerbouyer <bouyer@pkgsrc.org>2002-10-26 20:04:31 +0000
commit633f0cffc4594a512afd6d0f1c07e7d61830ac3d (patch)
tree5042c4189a7b2835fc4a4710a1aeddc51c01b8a8 /games/gnome-chess/Makefile
parent8145a67584d68035cd0e7c2f23bf9c3c075beb38 (diff)
downloadpkgsrc-633f0cffc4594a512afd6d0f1c07e7d61830ac3d.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 ?
Diffstat (limited to 'games/gnome-chess/Makefile')
-rw-r--r--games/gnome-chess/Makefile7
1 files changed, 6 insertions, 1 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