Commit graph

73 commits

Author SHA1 Message Date
sketch
41f4e37942 Remove optimisations when compiling with sunpro to avoid issues with
quotearg_buffer_restyled().  Google suggests this function has issues
with other non-gcc compilers using optimisation as well.

Notable fixes include net/libIDL's parser.y
2004-11-02 17:42:13 +00:00
dmcmahill
f58ced0a66 remove this. use USE_GNU_TOOLS+= yacc instead or a BUILD_DEPENDS 2004-03-12 22:38:18 +00:00
dmcmahill
fb3bbea193 add bl3 file 2004-03-12 02:54:50 +00:00
seb
689189ef2d Remove info files entries from PLIST file. 2004-02-13 08:26:03 +00:00
jlam
68b3a91985 bl3ify 2004-01-20 22:24:35 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
heinz
5a6edbfaad add TEST_TARGET 2003-08-09 07:33:27 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
seb
2cc5045c97 Convert to USE_NEW_TEXINFO. 2003-06-19 21:48:04 +00:00
jmc
9617179b08 Remove this...Due to unclear Packages.txt even though BUILD_DEPENDS is in
buildlink2 evidently we're not supposed to use it that way..
2003-03-08 22:24:36 +00:00
jmc
1ad9075a0d Add a buildlink2 script for bison 2003-03-08 21:37:47 +00:00
wiz
dac4037e6b Undo last -- adding stamp-vti to AUTOMAKE_PATTERNS in bsd.pkg.mk fixes this correctly. 2003-01-20 16:27:41 +00:00
wiz
b3e20cad1a According to Craig Eales (PR 19933), bison requires texinfo-4.2.
This really should not happen because of texinfo-override, but since
this seems not to work, add TEXINFO_REQD for now.
2003-01-20 14:46:14 +00:00
cjep
f88af8fabb Append ";" after attribute. From bison CVS repository.
This appears to fix a problem when building print/lilypond.

Bump PKGREVISION.
2003-01-04 20:16:10 +00:00
cjep
bbabdca4c2 Update of devel/bison to version 1.875.
Differences to the plain GNU version in the packages collection:
* We do not install the shell wrapper "yacc" (it is supplied because
POSIX requires it and we already have a yacc command).

Changes since 1.75:
* Numerous bug fixes and improvements including:
   + Compatibility (with 1.35 and Solaris yacc) changes;
   + Fixes for GCC 3.2.1;
   + Use Yacc style of conflict reports;
   + Fix bug where error locations were not being recorded correctly;
   + Fix bad interaction with flex 2.5.23.

Please see the ChangeLog file supplied with the bison source code
for more details.
2003-01-01 13:15:47 +00:00
cjep
66f0c03b35 Upgrade of devel/bison to 1.75.
Changes since 1.35 (too many to mention here, please see the
ChangeLog in the bison source distribution):
* GNU m4 is now required.
* Various bug fixes.
* intl source removed.

NetBSD pkgsrc changes:
* Change of maintainer thorpej->cjep.
2002-12-15 19:41:24 +00:00
jlam
0869c901c5 The gettext fix has migrated to gettext-lib/buildlink2.mk 2002-12-02 22:15:16 +00:00
grant
bb2abd1ee2 USE_PKGLOCALEDIR. 2002-11-30 14:04:01 +00:00
wiz
b26d694d72 Remove CONFIGURE_ARGS that has no effect.
Luckily buildlink2 does it for us.
2002-10-05 04:17:59 +00:00
jlam
1ffdbcf408 buildlink1 -> buildlink2 2002-09-21 00:59:26 +00:00
wiz
074dc48a57 Do not go looking for libiconv -- otherwise it may be found but no
dependency recorded.
2002-08-22 09:31:59 +00:00
wiz
ea0732de3a Fix comment. 2002-05-10 00:15:59 +00:00
jlam
449c87aac6 Find libintl in ${BUILDLINK_DIR}. It turns out that the base system's
libintl.so won't pass the test for a GNU gettext, so building bison will
build the supplied gettext anyway, but there won't be a dependency on
gettext-lib in any case, so the bookkeeping is correct.  If there isn't a
libintl.so in the base system, then bison will use the libintl.so installed
by gettext-lib, so again the bookkeeping will be correct.

So the short of it is that this is strongly buildlinked again.
2002-04-10 13:51:23 +00:00
wiz
b3a73be2d3 Update to 1.35:
* C Skeleton
  Some projects use Bison's C parser with C++ compilers, and define
  YYSTYPE as a class.  The recent adjustment of C parsers for data
  alignment and 64 bit architectures made this impossible.

  Because for the time being no real solution for C++ parser
  generation exists, kludges were implemented in the parser to
  maintain this use.  In the future, when Bison has C++ parsers, this
  kludge will be disabled.

  This kludge also addresses some C++ problems when the stack was
  extended.
2002-03-29 09:42:51 +00:00
tron
23964d20cf Add a comment why "TZ" is set. 2002-03-22 19:28:31 +00:00
tron
73fcf226e0 Set "TZ" to "GMT" to avoid unnecessary rebuild of the info files which
fails under NetBSD 1.5.3. Problem noted by Matthew Green in PR pkg/15954.
2002-03-22 19:27:40 +00:00
tron
c3a6f4ced4 Use smaller ".tar.bz2" source archive. 2002-03-20 11:32:23 +00:00
wiz
8686edaecd Update to 1.34. Changes since 1.32:
* File name clashes are detected
  $ bison foo.y -d -o foo.x
  fatal error: header and parser would be both named `foo.x'

* A missing `;' ending a rule triggers a warning
  In accordance with POSIX, and in agreement with other
  Yacc implementations, Bison will mandate this semicolon in a near
  future.  This eases the implementation of a Bison parser of Bison
  grammars by making this grammar LALR(1) instead of LR(2).  To
  facilitate the transition, this release introduces a warning.

* Revert the C++ namespace changes introduced in 1.31, as they caused too
  many portability hassles.

* Fix test suite portability problems.

* Fix C++ issues
  Groff could not be compiled for the definition of size_t was lacking
  under some conditions.

* Catch invalid @n
  As is done with $n.
2002-03-19 11:01:59 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
tron
5d82ebfd9f Make sure that locale files go into the correct directory under Solaris. 2002-02-10 19:05:56 +00:00
wiz
d03244894b Remove sha1 for patch-ae, which doesn't exist. 2002-02-08 09:35:17 +00:00
mjl
04c1aeaf83 Update to bison 1.32
* Fix Yacc output file names
* Portability fixes
* Italian, Dutch, Swedish, Russian translation
* Many Bug Fixes
* Use of alloca in parsers
* When the generated parser lacks debugging code, YYDEBUG is now 0
  (as POSIX requires) instead of being undefined.
* User Actions
  Bison has always permitted actions such as { $$ = $1 }: it adds the
  ending semicolon.  Now if in Yacc compatibility mode, the semicolon
  is no longer output: one has to write { $$ = $1; }.
* Better C++ compliance
  The output parsers try to respect C++ namespaces.
* Reduced Grammars
  Fixed bugs when reporting useless nonterminals.
* 64 bit hosts
  The parsers work properly on 64 bit hosts.
* Error messages
  Some calls to strerror resulted in scrambled or missing error messages.
* The verbose report includes the rule line numbers.
* Rule line numbers are fixed in traces.
* Parse errors
  Verbose parse error messages from the parsers are better looking.
* Fixed parser memory leaks.
  When the generated parser was using malloc to extend its stacks, the
  previous allocations were not freed.
* Fixed verbose output file.
  Some newlines were missing.
  Some conflicts in state descriptions were missing.
* Fixed conflict report.
  Option -v was needed to get the result.
* Fixed incorrect processing of some invalid input.
* Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
* %token MY_EOF 0 is supported.
  Before, MY_EOF was silently renumbered as 257.
* doc/refcard.tex is updated.
* %output, %file-prefix, %name-prefix.
* --output
* `--defines' and `--graph' have now an optionnal argument which is the
  output file name. `-d' and `-g' do not change, they do not take any
  argument.
* Portability fixes.
* The output file does not define const, as this caused problems when used
  with common autoconfiguration schemes.  If you still use ancient compilers
  that lack const, compile with the equivalent of the C compiler option
  `-Dconst='.  autoconf's AC_C_CONST macro provides one way to do this.
* Added `-g' and `--graph'.
* The input and the output files has automatically a similar extension.
* NLS support updated; should hopefully be less troublesome.
* Added the old Bison reference card.
* Added `--locations' and `%locations'.
* Added `-S' and `--skeleton'.
* `%raw', `-r', `--raw' is disabled.
* Special characters are escaped when output.  This solves the problems
  of the #line lines with path names including backslashes.
* New directives.
* @$ Automatic location tracking.
2002-01-31 13:43:57 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
626ce7ca93 Don't patch automake source files and remove dependency on automake. 2001-07-15 16:34:57 +00:00
skrll
e127114f1f Fix build problems on clean/-current system seen by Frank van der Linden
<fvdl@netbsd.org>

Add BUILD_DEPENDS for automake and define BUILD_USES_GETTEXT_M4
2001-06-25 15:34:47 +00:00
jlam
7a3aed445f Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-19 04:15:24 +00:00
jlam
f03bc9d638 Add patches to Makefile.am and configure.in that mirror patches to
Makefile.in and configure.
2001-06-13 07:55:06 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
jlam
9d719be886 Use ${PKGLOCALEDIR} to determine the location of the installed locale files. 2001-02-28 23:31:06 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
jlam
3f2c0b72ea Cosmetic changes. 2001-01-12 23:34:50 +00:00
jlam
f3ae7f100b Add CPPFLAGS to the configure environment so -Dunix gets passed throughi
correctly.
2001-01-12 23:33:38 +00:00
itojun
d8a7747225 libintl tweaks are moved into bsd.pkg.mk 2000-11-09 14:26:33 +00:00
itojun
021f3f3502 update dependency to gettext. BUILD_DEPEND on gettext, and have USE_LIBINTL. 2000-11-01 03:41:28 +00:00
jlam
d0d079e75e The gettext package gained a shared library. For all packages which
link against libintl.so, update the dependency on gettext to >=0.10.35nb1.
2000-07-31 04:14:04 +00:00
jdolecek
e7d73509d4 regen 2000-02-03 18:46:53 +00:00
jdolecek
2a83b9a101 add NetBSD RCS id 2000-02-03 18:46:20 +00:00