openbsd-ports/devel/bison/Makefile
2002-03-24 20:03:46 +00:00

34 lines
682 B
Makefile

# $OpenBSD: Makefile,v 1.28 2002/03/24 20:03:46 brad Exp $
COMMENT= "GNU parser generator"
DISTNAME= bison-1.32
CATEGORIES= devel
NEED_VERSION= 1.500
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
HOMEPAGE= http://www.gnu.org/software/bison/
MODULES= gettext
MAINTAINER= David Leonard <d@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_ENV= MAKEINFOFLAGS="--no-split"
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>