31 lines
608 B
Makefile
31 lines
608 B
Makefile
# $OpenBSD: Makefile,v 1.32 2002/12/29 20:19:10 fgsch Exp $
|
|
|
|
COMMENT= "GNU parser generator"
|
|
|
|
DISTNAME= bison-1.35
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/bison/
|
|
|
|
MODULES= gettext
|
|
|
|
# GPL
|
|
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>
|