30 lines
694 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.48 2013/06/26 16:24:00 espie Exp $
COMMENT= GNU parser generator
2008-07-08 00:24:17 +00:00
DISTNAME= bison-2.3
CATEGORIES= devel
2002-05-13 18:50:36 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
REVISION = 0
2001-07-13 01:55:59 +00:00
HOMEPAGE= http://www.gnu.org/software/bison/
2008-07-08 00:24:17 +00:00
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
2000-02-12 08:02:07 +00:00
2012-08-04 19:40:12 +00:00
WANTLIB= c
MODULES= devel/gettext
2010-11-15 19:45:56 +00:00
BUILD_DEPENDS= devel/m4
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-yacc
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
.include <bsd.port.mk>
# work around horrible bug in a.out toolchain, having a variable called "accept"
# won't work, as it's named the same as a libc AND libpthread symbol with
# weak properties
.if !${PROPERTIES:L:Melf}
CFLAGS += -Daccept=ceci_nest_pas_une_pipe
.endif