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.
visibility default is messed up, so make them all visible for now.
This also fixes the compilation on AMD64 as it doesn't allow text
relocations.
Bump revision.
Pkgsrc changes:
+ Support user-destdir installation.
+ Document the way that pkgsrc handles the freetds documentation.
+ Use GENERATE_PLIST instead of creating a .PLIST.doc.
+ Remove patch-ac and patch-ad due to reports of success compiling
FreeTDS on Mac OS X without changes on the freetds@ mailing list.
Package changes:
- libtds.* has been removed. Its objects are now linked directly
into the other client libraries.
- support TLSv1 sessions to MSSQL servers
- fixed timeout handling
- added protocol version discovery
- reduced network bandwidth use on Linux and -BSD
- fixed conversion NUMERIC->NUMERIC changing precision/scale
- added named instance support (mssql2k)
- many other code improvements and bug fixes
- improved pool server
- ODBC:
- cursors (mssql)
- fixed database setting
- fixed SQLGetData result
- fixed compute handling in ODBC
- paramset support
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
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).
${PREFIX}/share/doc/${PKGBASE}. Also, generate the documentation
PLIST entries dynamically since those files are generated from SGML,
and their names can change quite a bit from release to release.
Bump the PKGREVISION to 3.
Discussed with maintainer and tech-pkg in November. (I don't use
this software myself, but initially looked at this to fix the manual
page installation.)
Get rid of BUILDLINK_PASSTHRU_DIRS as not needed now.
Bump PKGREVISION.
BUILDLINK_RECOMMENDED.freetds removed. And BUILDLINK_DEPENDS.freetds
set to this new version.
TODO: allow threadsafe on platforms that support it.
be built with standard settings in /etc/mk.conf, and fixes a problem
in the bulk build results.
In short: install the manual pages into freetds/man/man1 (the rest of
the files in this package have a prefix directory of ${PREFIX}/freetds)
Main changes since 0.61 besides general bug fixes:
* BCP support for db-lib and ct-lib
* many ODBC fixes
* added support for TDS 8.0
* iconv changes (better collation, improve error reporting)
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.
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".
isn't available anymore
Changes since 0.61:
Version 0.61.2 (August 2003):
- fix some memory leaks
- fix bug binding parameters with NULL indicator
Version 0.61.1 (May 2003):
- Fixed segfault on opening log file in append mode
- locale initialization?
- fix segfault when used with iODBC
- better configure script for HP/UX 11
patches intact.
Changes since 0.60:
* Jan 2003
- Version 0.61
- Dynamic SQL
- Output parameters
- Compute rows
- Varbinary support
- dsn-less ODBC connections
- RPC support (db-lib)
- Compatibility with DBD::Sybase 0.95
- 68 new functions! (see doc/api_status.txt)
- Error/message handling rewritten, uses real error numbers
- new sample programs
- much cleaner code, warning-free compiles
- namespace cleanup
- public domain versions of functions for OSs that lack them
- autoconf portability improvements
- builds in HP-UX, Win32, and cygwin
- No dependency on OpenSSL
Makefiles simply need to use this value often, for better or for
worse.
(2) Create a new variable FIX_RPATH that lists variables that should
be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By
default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
additional variables may be appended from package Makefiles.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
Changes since 0.53 include:
* Much improved support for Microsoft servers, including SQL Server 2000
datatypes and domain logins.
* Support and convertibility of all major datatypes.
* Much expanded coverage of the ODBC API.
* An all-new BCP implementation, including host variable support.
* Character set conversions, via the iconv library.
* Threadsafe operation.
that hold the compiler and linker flags used to find the headers and
libraries because these packages install them into non-standard places.
These variables may be used in package Makefiles by doing:
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.<pkg>}
LDFLAGS+= ${BUILDLINK_LDFLAGS.<pkg>}