Commit graph

61 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
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
dmcmahill
b08b566c66 Fix building this with sun studio compilers. Patch submitted upstream. 2007-01-05 13:48:14 +00:00
rillig
6ba20aeaa2 USE_TOOLS+= perl 2006-07-10 07:59:02 +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
29b6349d31 The documentation is installed into share/doc/sablotron instead of
share/doc/html. Bumped PKGREVISION.
2006-04-12 22:52:34 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jwise
78d043bfb3 Update Sablotron to version 1.0.2. Changes from 1.0.1:
Version 1.0.2
December 29, 2004
-----------------
	- fixed a bug in declarations of namespaces
          during serialization
	- minor fixes for gcc 3.4.x
	- fixed mistakes in error messages
2005-06-06 20:14:43 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
c71cac836a Add RMD160 digests to the SHA1 ones. 2005-02-24 14:48:39 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
aff90872e9 buildlink2 -> buildlink3 in comment. 2004-07-06 22:57:48 +00:00
wiz
aa3e858c8e Unused. 2004-05-09 11:23:51 +00:00
minskim
497c47c7ad Update MASTER_SITES. 2004-05-09 04:56:45 +00:00
xtraeme
0f8edfef3c bl3ify 2004-04-25 00:50:46 +00:00
grant
5b9fa74f3d replace USE_GCC_SHLIB with USE_LANGUAGES=c c++. 2004-03-06 11:44:59 +00:00
jlam
efa1ab70ba Include "../../mk/compiler.mk" to get the value of CC_VERSION before
testing it.
2004-02-18 13:33:40 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
jlam
3cb6329f44 USE_GCC[23], USE_SUNPRO, and USE_MIPSPRO are all deprecated. 2004-02-09 19:57:54 +00:00
kristerw
092a1ec191 Add build dependency on textproc/p5-XML-Parser. 2004-01-25 15:29:51 +00:00
grant
60ad86155b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:06:57 +00:00
wiz
7443ef098e Update to 1.0.1, based on PR 23989 by Adam Migus.
Version 1.0.1
November 24, 2003
-----------------
	- minor changes to configure (snprintf tested)
	- fixed a bug of wrong error line numbers in imported or
	  included template
	- fixed a bug of count() function argument casting
	- misplaced xsl:import no more processed
	  [reported by Bob Kline]
	- fixed a bug of crashing current() [reported by Alex Greg]
	- fixed a bug in DOM (inserting child nodes)
	- fixed a bug of pointers sized differently from boolean on
	  64-bit platforms

Add lots of documentation to PLIST.
2004-01-05 19:11:25 +00:00
jwise
33ce3a4057 At least on -current, we still need -lm with -lstdc++. 2003-10-15 15:16:32 +00:00
grant
68fd50e391 bump PKGREVISIONs after bump of expat BUILDLINK_DEPENDS. 2003-10-11 13:40:19 +00:00
grant
6fe7f33f4c link against the correct libs when using gcc3. 2003-09-27 10:10:34 +00:00
jdolecek
09d275fa13 patch-ac is not needed anymore with version 1.0 (and doesn't apply, even) 2003-08-31 10:58:37 +00:00
jdolecek
631ee640b4 update distinfo for update to sablotron version 1.0 2003-08-31 10:30:17 +00:00
xtraeme
51ccd1ab99 Depend on the latest version. 2003-08-29 15:47:46 +00:00
xtraeme
c167efb705 Updated sablotron to 1.0
Changes:

Version 1.0
August 8, 2003
---------------
        - two flags SAB_DUMP_SHEET_STRUCTURE (0x40) and
          SAB_NO_EXTERNAL_ENTITIES (0x80) added
        - nested xsl:attribute reported as error
        - > is always escaped to prevent problems with CDATA end
        - new configurable set of makefiles for Windows MSVC++ has been
          created to replace existing Makefile.nt file
          [by Rosimildo daSilva, patch by Bob Kline]
        - fixed a type comparison failing on arm, powerpc and s390
          [reported by Debian maintainers]
        - fixed a bug of default NS in imported/included templates
        - fixed a segfault in keys defined on empty nodes
          [reported by Simon Spanihel]
        - minor changes to compile under QNX 6.2
          [patch by Adrian Weiler]
        - fixed a bug of nested imports [reported by Dave Brooks]
        - fixed a bug of UTF-16 encoded files on Win
          [reported by Andrey Sokolov]
        - fixed a bug of defenition check in shandler.h for Borland
          compilers [reported by Vladimir Lukianov]
        - fixed a bug of crashing sorting on Windows
        - fixed a bug of crashing key() on RTF
          [reported by Valeriy Ovechkin]
        - solved the issue of too many files open with exsl:document
        - fixed a bug of  casting of 64-bit pointers to (int)
          [patch by Steve Crockett]
        - fixed a bug absolute paths starting with a drive letter on
          Windows (unsupported scheme is reported)
        - fixed a bug of SDOM_DestroyDocument


Version 0.98
April 7, 2003
-------------
        - added stylesheet chaining to sabcmd [by Stefan Behnel]
        - changes in XML::Sablotron (new layout, added DOMHandler SXP
          interface) [by Nicolas Trebst and Anselm Kruis]
        - fixed a bug of variables bound for SXP queries
        - fixed a bug of the self axis (principal node type)
        - fix for Metrowerks C/C++ compiler [suggested by Tim Crook]
        - fixed a bug of forbidden XPath (child::xxx@yyy)
        - configuration fixes (APIDOC docs are built only when
          Perl/XML::Parser found)
        - fixed defaults for xsl:number
        - fixed a bug of required order of top-level variables
        - fixes in the outputting of NS declarations
        - fixes in the import precedence [report by Roy Huggins]
        - added a new config switch for sabcmd to abort on XSLT error
          (--enable-abort-on-error)
        - fixed a bug in namespace-alias
        - fixed segfault occurring when formating big numbers (>1e127)
        - fixed comparison of char to 0 for unsigned-char platforms


Version 0.97
December 30, 2002
-----------------
        - fixed the problem with Expat 1.95.5
        - fixed a bug in xsl:message [report by Bob Kline]
        - fixed an infinite loop bug in recursive imports
          [report by Michael Vladimirov]
        - added SablotGetOptions() function
        - added a new option (SAB_FILES_TO_HANDLER) to pass the 'file'
          URIs to the scheme handler
        - fixed collisions with PHP/Java extension, Arena* renamed to
          SabArena [suggested by Christian Stocker]
        - mapping of namespaces added to xql() function (DOM)
        - chars illegal in output encoding displayed as references
          (for xml, html, xhtml output methods)
        - fixed resolution of relative URIs in document()
        - fixed a bug of not overridden imported parameters
        - documentation sources (APIDOC XML) added to distribution

Closes my own PR pkg/22603.
2003-08-29 15:29:29 +00:00
grant
e3e13fc5f3 fix previous: pass _BLNK_ICONV_LDFLAGS instead of -liconv so libsablot
can once again find the iconv functions on systems without iconv
in libc.
2003-07-24 13:35:28 +00:00
jwise
3aeb9b5441 Don't explicitly pull in -liconv -- if we need it, the libiconv buildlink glue
will give it to us, and if we don't this breaks the build.
2003-07-22 14:05:48 +00:00
grant
7c023ba9ee pass libs in LIBS, not LDFLAGS. link with libstdc++ and libm if gcc,
libCrun and libm if SunPro.

fixes build with SunPro.
2003-07-18 12:39:17 +00:00
grant
60348025a4 only use libstdc++ and libm if we aren't using sunpro or mipspro. 2003-07-18 11:14:43 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
grant
793d8871e5 use mk/gcc.buildlink2.mk 2003-05-27 08:30:24 +00:00
grant
2e9d4ab464 this uses c++, so set USE_CXX and include gcc/buildlink2.mk.
add LIBTOOL_OVERRIDE, libiconv, libstdc++, libm to give this a hope of
working on NetBSD and Solaris.

bump PKGREVISION.
2003-05-27 05:09:11 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
16c12b6e86 Add two header files that appeared in the last update.
Closes PR 18551 by Sergio Jimenez Romero.
2002-10-07 23:42:21 +00:00
jwise
6dde0b02c7 Update sablotron to version 0.96. Changes since 0.71 (last pkgsrc version):
Version 0.96
September 5, 2002
-------------
	- XSLT debugger implemented (sabcmd --debugger)
	- API fixes for PHP extension
	- log() function added to write to Sablot's log from JS scripts
	- conflicts of top-level elements (variable, key, script)
	  initializations resolved
	- fixed xslt_process buffer overflow
	- fixed a bug of duplicate NS qualified attributes
	- minor SXP bug fixes [using patches by Tim Crook]
	- fixed a bug of the 'mod' operator [report by Jork Behrends]
	- fixed a bug of sorting with multiple keys [report by Jork Behrends]
	- fixed a bug of comparison [report by Jork Behrends]
	- DOM: fixed a bug of the default XML namespace
	  [report by Albert Micheev]
	- DOM: fixed a bug of PIs [report by Albert Micheev]
	- improved configuration [by Melvyn Sopacua]
	- fragment identifiers allowed in document() for custom
	  schemes [report by Bob Kline]

Version 0.95
June 24, 2002
-------------
	- DOM support upgraded to DOM Level2
	- xsl:strip-space and xsl:preserve-space implemented
	- XSLT on external documents (accessed via callbacks)
	- esxlt:document instruction implemented
	- unparsed-entity-uri() function implemented
	- added a manual page for sabcmd
	- added a batch mode (multiple sources/stylesheets)
	  for sabcmd [by Stefan Behnel]
	- added a system property to display version
	- added a flag for document() to return an empty node-set when
  	  it refers to non-existing document
	- fixed a bug in relative paths to ext. entities
	- fixed a sorting bug on Solaris
	- fixed matching precedence for processing-instruction('lit')
	- fixed a bug in xsl:decimal-format/format-number()
	- fixed a bug in string() - comments excluded
	- fixed a bug of RTFs in xsl:attribute (comment, pi)
	- fixed a bug of generate-id for multiple documents
	- various minor fixes

Version 0.90
March 8, 2002
-------------
	- xsl:import implemented
	- fixed a bug in boolean expressions with nodesets
	  [reported by John Holland]
	- current() implementation redesigned
	- variables not allowed in 'match' attributes of templates
	- fixed a bug in attribute value escaping [Christian Lefebvre]
	- fixed a bug in ext. entities base URI [Christian Lefebvre]
	- fixed a bug in sabcmd --base option [Christian Lefebvre]
	- span not indented with html method
	- processing-instruction() node test allows literal arguments
	- only top-level variables and params visible in xsl:attribute-set
	- fixed a bug in xsl:number
	- fixed a bug in master situation cleanup
	  [patch proposed by Bill Hofmann and Bob Kline]
	- fixed a bug in error reports from included files
	- correct name of element, attribute and pi is checked

Version 0.82
January 30, 2002
----------------
	- fixed the text output method
	  (nothing but text nodes are outputted)
	- SCRIPT and STYLE escaped for xhtml
	- fixed a bug in escaping attributtes (src, href)
	- fixed a bug in aliasing doctype declaration
	- fixed bugs related to Sun CC compiler [Tim Crook, Greg Cope]
	- fixed a memory management bug [Tim Crook]

Version 0.81
January 16, 2002
----------------
	- PUBLIC URLs in doctypes and ext. entities not parsed
  	  by default (SAB_PARSE_PUBLIC_ENTITIES situation option)
	- non-xsl elements allowed inside xsl:stylesheet
	- xsl attributes not outputted anymore
	- xsl:namespace-alias translates attributes as well
	- content of SCRIPT and STYLE not escaped for html/xhtml
	- Boolean attributes are abbreviated for html output method

Version 0.80
January 8, 2002
---------------
	- implemented extensions (JavaScript functions + DOM,
	  extension-element-prefixes, xsl:fallback, function-available(),
	  element-available())
	- fixed a bux in the 'following' axis
	- fixed current() assertion fault
	- fixed "META tag placed outside HEAD" bug
	- fixed a bug in abbreviated [position] expression in
	  template 'match' attribute
	- implemented lang () function
	- added 'namespace' attribute of xsl:element
	- implemented 'exclude-result-prefixes'
	- implemented xsl:attribute-set and 'use-attribute-sets'
	- added 'namespace' attribute of xsl:attribute
	- fixed translate() bug
	- key() now works with document()
	- fixed short stylesheet notation output bugs
	- added use-attribute-sets attribute to xsl:copy
	- minor bugs fixed
2002-09-25 23:17:26 +00:00
wiz
80ee491886 Since the major of libiconv was increased during the update to 1.8,
bump dependency to latest libiconv version; recursively also bump all
dependencies of packages depending on libiconv.
Requested by fredb.
2002-09-10 16:06:32 +00:00
wiz
f9f5ddf87c Unused. 2002-09-10 12:36:10 +00:00