2002-12-29 15:19:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2002/12/29 20:19:10 fgsch Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
|
|
|
COMMENT= "GNU parser generator"
|
1998-02-10 18:54:05 -05:00
|
|
|
|
2002-06-15 16:47:28 -04:00
|
|
|
DISTNAME= bison-1.35
|
1998-02-10 18:54:05 -05:00
|
|
|
CATEGORIES= devel
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
2001-07-12 21:55:59 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/bison/
|
|
|
|
|
2001-10-24 21:58:54 -04:00
|
|
|
MODULES= gettext
|
1998-02-10 18:54:05 -05:00
|
|
|
|
2002-12-10 10:46:10 -05:00
|
|
|
# GPL
|
2000-03-11 19:25:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-01-25 19:03:55 -05:00
|
|
|
MAKE_ENV= MAKEINFOFLAGS="--no-split"
|
|
|
|
|
2002-02-10 14:55:59 -05:00
|
|
|
# XXX workaround gcc bugs on sparc64
|
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
2001-07-12 21:55:59 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-01-25 19:15:06 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-02-10 18:54:05 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|