pkgsrc/lang/intercal/Makefile
drochner 6e93988ce4 "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.
2010-01-02 12:49:43 +00:00

25 lines
597 B
Makefile

# $NetBSD: Makefile,v 1.10 2010/01/02 12:49:43 drochner Exp $
#
DISTNAME= intercal-0.24
CATEGORIES= lang
MASTER_SITES= http://www.catb.org/~esr/intercal/
MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.catb.org/~esr/intercal/
COMMENT= The ultimate language for obfuscation and job security
MAKE_JOBS_SAFE= no
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
SUBST_VARS.prefix= PREFIX
.include "../../mk/bsd.pkg.mk"