pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/intercal "flex" apparently changed its behavior w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33add8dfbf30
branches: trunk
changeset: 569008:33add8dfbf30
user: drochner <drochner%pkgsrc.org@localhost>
date: Sat Jan 02 12:49:43 2010 +0000
description:
"flex" apparently changed its behavior wrt "yylineno": If invoked
w/o "-l", yylinelo still gets defined in recent versions, but not
in the version which comes with NetBSD-4.
So require "flex" for the build and always use the "-l" flag, so we'll
hopefully get deterministic behavior.
Should fix PR pkg/42509 by Robert Elz.
diffstat:
lang/intercal/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r dce7a5b9a0b0 -r 33add8dfbf30 lang/intercal/Makefile
--- a/lang/intercal/Makefile Sat Jan 02 12:39:30 2010 +0000
+++ b/lang/intercal/Makefile Sat Jan 02 12:49:43 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/12/18 14:02:07 drochner Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/02 12:49:43 drochner Exp $
#
DISTNAME= intercal-0.24
@@ -10,11 +10,13 @@
COMMENT= The ultimate language for obfuscation and job security
MAKE_JOBS_SAFE= no
-USE_TOOLS+= lex yacc
+USE_TOOLS+= flex yacc
GNU_CONFIGURE= yes
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= bin lib
+CONFIGURE_ENV+= LEX="flex -l"
+
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= perpetrate.c
Home |
Main Index |
Thread Index |
Old Index