Commit graph

45 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
sno
16408c9e5e turn on linux source compatibility for AIX - flex dumps core otherwise
when try to allocate 0 bytes
2009-02-25 21:03:01 +00:00
tnn
1c33796849 Also add malloc.c as required by configure.
Reported in SF.net bug # 1899047
2008-05-21 12:54:32 +00:00
tnn
69b56eaa2f Update homepage. 2008-05-18 00:43:51 +00:00
tnn
59efc5ea9a version 2.5.35 released 2008-02-26
* fixed bug that prevented flex from accepting certain comments in the
  scanner file (resolves bugs #1849809 and #1849805)
* fix bug that prevented headers for all functions from being generated
  (resolves bug #1628314)
* change yy_size_t to be size_t (resolves bug #1849812)
* new de, nl, pl, pt_br, vi translations from the translation project
2008-03-08 00:08:42 +00:00
tnn
9c1de0133f - add a patch from debian that fixes a parser bug
- do a "two stage" bootstrap: build flex, then regenerate the scanner and
  rebuild flex.
- This should fix PR pkg/38084
- bump PKGREVISION.
2008-02-22 22:13:33 +00:00
tnn
a8aa30d6bb Add GNU realloc.c, needed because of AC_FUNC_REALLOC.
Will file a bug upstream.
2008-02-21 18:57:46 +00:00
tnn
3e2a94e791 Update to flex-2.5.34. Highlights from NEWS:
* flex now provides for a libfl_pic.a compiled with position indep. code.
* introduce yylex_init_extra (c.f. manual)
* pattern language expanded (c.f. manual)
* introduce %option extra-type="your_type *"
* parse multiple short concatenated options
* better checking after yyalloc/yyrealloc
* Expose YY_BUF_SIZE in the header file.
* better escape of filenames with special characters
* memory leaks were plugged
* support case-insensitive patterns
* POSIX character classes may be negated in patterns
* patterns may now use set difference, union operators
* c++ scanner updates
* updated translations
2008-02-21 18:26:05 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
heinz
17a26fe24a Added support for installation to DESTDIR. 2007-06-03 22:57:25 +00:00
rillig
ee8c47fef6 IRIX has <alloca.h>. 2007-03-07 16:50:13 +00:00
markd
4b3b570f13 Needs makeinfo to build (at least on Solaris 10).
Fixes PR pkg/35520.
2007-02-05 19:54:36 +00:00
dmcmahill
58e37dbe1d Add missing gettext-lib/buildlink3.mk and fix PLIST. 2007-01-31 15:38:33 +00:00
joerg
695cd5ddcd Needs a GNUish m4. Bump revision. No cookie for rillig. 2007-01-23 17:42:09 +00:00
rillig
4d80d2775d Solaris needs -lm. 2007-01-15 06:23:47 +00:00
rillig
d8c2171b53 Updated flex to 2.5.33.
Changes since 2.5.4a (10 years ago) are too many to be listed here.
2007-01-15 06:14:48 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
reed
d3b75a7df2 Define CONFIGURE_HAS_MANDIR=NO since this old GNU_CONFIGURE
configure script doesn't know --mandir.

Also because of this, add patch to fix where installs manpage.
2005-10-04 17:45:22 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
dmcmahill
12700ebd1f add bl3 file. this pkg installs a library 2004-04-27 21:00:14 +00:00
grant
caa97276a6 replace /usr/bin/yacc test with USE_GNU_TOOLS+=yacc to provide a
working yacc(1).
2004-02-24 15:17:54 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
heinz
ee0bc1900d Add TEST_TARGET 2003-10-19 01:34:13 +00:00
grant
dbf3c5151c use basename ${MAKE}... in configure to avoid bad substitution
error.

from mlh at goathill dot org in PR pkg/22920.
2003-10-11 12:11:41 +00:00
wiz
52049ab0e1 Add dependency on bison if there is no yacc; addresses PR 20772.
Add HOMEPAGE and remove ONLY_FOR_PLATFORMS (from the same PR).
2003-08-23 22:55:34 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
agc
928eb89979 Allow this package to be built on Linux too - from a nudge by Jeremy
Reed in PR 19480.  Let's not get into the debate about what versions
come with "Linux"...
2002-12-22 16:33:16 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +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
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
tron
8c73f09bef Update master site list. 2001-01-13 22:53:27 +00:00
wiz
eaff922bb0 removed empty HOMEPAGE tag 1999-12-28 05:18:43 +00:00
agc
46fb8db2a2 For packages that are in the NetBSD base system, but needed for
Solaris, narrow down the platforms, and use specific inclusion rather
than disclusion:  mark them as ONLY_FOR_PLATFORM=SunOS-*-*, rather
than NOT_FOR_PLATFORM=NetBSD-*-*.
1999-07-02 08:46:51 +00:00
agc
53c7aa65db Initial import of flex, the fast clone of lex(1), the lexical scanner
generator, into the NetBSD packages collection.  This package is only
for Solaris - it is part of the base NetBSD system.
1999-07-01 09:23:23 +00:00