A major change in 3.7.x is that the .c files generated by bison now include the .h file generated by "bison -d". Makefiles that rename the generated .h file will run into problems unless they also edit the .c file to match. Alternately, the --defines=foo.h option can be used instead of -d to specify the desired header file name. With help from naddy@ OK sthen@
29 lines
611 B
Makefile
29 lines
611 B
Makefile
# $OpenBSD: Makefile,v 1.63 2021/05/17 16:41:44 millert Exp $
|
|
|
|
COMMENT= GNU parser generator
|
|
|
|
DISTNAME= bison-3.7.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
HOMEPAGE= https://www.gnu.org/software/bison/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c iconv intl m
|
|
|
|
LIB_DEPENDS= devel/gettext,-runtime
|
|
BUILD_DEPENDS= devel/gettext,-tools \
|
|
devel/help2man \
|
|
devel/m4
|
|
RUN_DEPENDS= devel/m4
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --disable-yacc --without-libtextstyle-prefix
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
|
|
|
|
.include <bsd.port.mk>
|