| @@ -1,35 +1,36 @@ | | | @@ -1,35 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.69 2009/02/12 18:43:21 minskim Exp $ | | 1 | # $NetBSD: Makefile,v 1.70 2009/05/30 14:47:07 joerg Exp $ |
2 | | | 2 | |
3 | DISTNAME= bison-2.4.1 | | 3 | DISTNAME= bison-2.4.1 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= devel | | 5 | CATEGORIES= devel |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= cjep@NetBSD.org | | 9 | MAINTAINER= cjep@NetBSD.org |
10 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | | 10 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html |
11 | COMMENT= GNU yacc(1) replacement | | 11 | COMMENT= GNU yacc(1) replacement |
12 | | | 12 | |
13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | GNU_CONFIGURE= YES | | 16 | GNU_CONFIGURE= YES |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | USE_PKGLOCALEDIR= yes | | 18 | USE_PKGLOCALEDIR= yes |
19 | USE_TOOLS+= grep gm4:run msgfmt | | 19 | USE_TOOLS+= grep gm4:run msgfmt |
20 | INFO_FILES= # PLIST | | 20 | INFO_FILES= # PLIST |
21 | | | 21 | |
22 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes | | 22 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes \ |
| | | 23 | ac_cv_prog_M4=${TOOLS_PATH.gm4} |
23 | | | 24 | |
24 | TEST_TARGET= check | | 25 | TEST_TARGET= check |
25 | | | 26 | |
26 | # Avoid rebuilding manpage | | 27 | # Avoid rebuilding manpage |
27 | pre-build: | | 28 | pre-build: |
28 | ${TOUCH} ${WRKSRC}/doc/bison.1 | | 29 | ${TOUCH} ${WRKSRC}/doc/bison.1 |
29 | | | 30 | |
30 | # "bison" wants a recent version of "gettext" which at least NetBSD doesn't | | 31 | # "bison" wants a recent version of "gettext" which at least NetBSD doesn't |
31 | # provide. Figure out whether it will install the locale files or not. | | 32 | # provide. Figure out whether it will install the locale files or not. |
32 | PLIST_SRC= ${WRKDIR}/PLIST | | 33 | PLIST_SRC= ${WRKDIR}/PLIST |
33 | | | 34 | |
34 | post-configure: | | 35 | post-configure: |
35 | if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \ | | 36 | if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \ |