set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".
SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
after the OVERRIDE_DIRDEPTH mechanism was introduced. Ensure that
the config.* scripts under ${WRKSRC} are found and overridden by
setting OVERRIDE_DIRDEPTH to 3.
* Modify xmkmf so that we can override the imake command invoked via an
environment variable IMAKE_CMD.
* Drop the nbitools/buildlink3.mk file as it's no longer used by either
canna or sj3 for package builds.
Bump the PKGREVISION to 4.
SDL 1.2.11 is a minor bug fix release.
Unix Notes
Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden. This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX.
Fixed building SDL with Xinerama disabled.
Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
Added pkgconfig configuration support.
Mac OS X Notes
The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
* Major changes in Autoconf 2.60
Released 2006-06-23, by Ralf Wildenhues.
** Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
or LIFO (as in GNU M4 1.4.x). GNU M4 2.0 is expected to conform to Posix
here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
** Provide a way to turn off warnings about the changed directory variables.
* Major changes in Autoconf 2.59d
Released 2006-06-05, by Ralf Wildenhues.
** GNU make now recommended for VPATH builds
INSTALL now suggests VPATH builds (e.g., "sh ../srcdir/configure")
only if you use GNU make. In practice, other 'make' implementations
have too many subtle incompatibilities in their support for VPATH.
Many packages (including Autoconf itself) are portable to other
'make' implementations, but some packages are not, and recommending
GNU make keeps the installation instructions simpler.
** Even more safety checks for the new Directory variables:
Warn about suspicious `${datarootdir}' found in config files output.
** AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
These never-documented macros and variables have been marked with
comments saying that they may be removed in a future release,
because their use can lead to unintended code being executed.
If you need functionality that only these macros or variables
currently supply, please write bug-autoconf@gnu.org.
** AC_SUBST, AC_DEFINE
Literal arguments to these are passed to m4_pattern_allow now.
** AC_PROG_CC_STDC
Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
obsolete K&R tests in the Automake test suite.
** AC_PROG_CXX_C_O
New macro.
** AC_PROG_MKDIR_P
New macro.
** AS_MKDIR_P
Now more robust with special characters in file names, or when
multiple processes create the same directory at the same time.
** Obsolescent macros
The documentation now says that the following macros are obsolescent:
they test for problems that are so old that they are no longer of
practical importance on current systems.
AC_C_BACKSLASH_A AC_FUNC_MEMCMP AC_HEADER_DIRENT
AC_C_CONST AC_FUNC_SELECT_ARGTYPES AC_HEADER_STAT
AC_C_PROTOTYPES AC_FUNC_SETPGRP AC_HEADER_STDC
AC_C_STRINGIZE AC_FUNC_SETVBUF_REVERSED AC_HEADER_SYS_WAIT
AC_C_VOLATILE AC_FUNC_STAT AC_HEADER_TIME
AC_FUNC_CLOSEDIR_VOID AC_FUNC_STRFTIME AC_ISC_POSIX
AC_FUNC_GETPGRP AC_FUNC_UTIME_NULL AC_PROG_GCC_TRADITIONAL
AC_FUNC_LSTAT AC_FUNC_VPRINTF AC_STRUCT_TM
New programs need not use these macros. We have no current plans to
remove them.
** autoreconf
For compatibility with future Libtool 2.0, autoreconf will invoke
libtoolize with the option `--ltdl' now, if LT_CONFIG_LTDL_DIR is
used.
* Major changes in Autoconf 2.59c
Released 2006-04-12, by Ralf Wildenhues.
** The configure command now redirects standard input from /dev/null,
to help avoid problems with subsidiary commands that might mistakenly
read standard input. AS_ORIGINAL_STDIN_FD points to the original
standard input before this redirection, if you really want configure to
read from standard input.
** Directory variables adjusted to recent changes in the GNU Coding Standards.
The following directory variables are new:
datarootdir read-only architecture-independent data root [PREFIX/share]
localedir locale-specific message catalogs [DATAROOTDIR/locale]
docdir documentation root [DATAROOTDIR/doc/PACKAGE]
htmldir html documentation [DOCDIR]
dvidir dvi documentation [DOCDIR]
pdfdir pdf documentation [DOCDIR]
psdir ps documentation [DOCDIR]
The following variables have new default values:
datadir read-only architecture-independent data [DATAROOTDIR]
infodir info documentation [DATAROOTDIR/info]
mandir man documentation [DATAROOTDIR/man]
This means that if you use any of `@datadir@', `@infodir@', or
`@mandir@' in a file, you will have to ensure `${datarootdir}' is
defined in this file. As a temporary measure, if any of those are
found but no mention of `datarootdir', the substitutions will be
replaced with values that do not contain `${datarootdir}', and a
warning will be issued.
** @top_builddir@ is now a dir name: it is always nonempty and doesn't have
a trailing slash. Similar change will be made to ac_top_builddir in a
future release; the old style value, which matches (../)*, is (and will
continue to be) available as ac_top_build_prefix.
** AC_C_TYPEOF
New macro to check for support of 'typeof' syntax a la GNU C.
** AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
New "once-only" variants of commonly-used macros, to make 'configure'
smaller and faster in common cases.
** AC_FUNC_STRTOLD
New macro to check for strtold with C99 semantics.
** AC_HEADER_ASSERT
New macro that lets builder disable assertions at 'configure'-time.
** AC_PATH_X
Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
X11/Intrinsic.h and XtMalloc (Xt).
** AC_PRESERVE_HELP_ORDER
New macro that causes `configure' to display help strings for AC_ARG_ENABLE
and AC_ARG_WITH arguments in one region, in the order defined. The default
behavior is to group options of each classes separately.
** AC_PROG_CC, AC_PROG_CXX
No longer automatically arrange to declare the 'exit' function of C,
when a C++ compiler is used. Standard Autoconf macros no longer use
'exit', so this is no longer an issue for them. If you use C++, and
want to call 'exit', you'll have to arrange for its declaration
yourself. But we now suggest you return from 'main' instead.
** AC_PROG_CC_C89, AC_PROG_CC_C99
New macros for ISO C99 support. AC_PROG_CC_C89 and AC_PROG_CC_C99
check for ANSI C89 and ISO C99 support respectively.
** AC_PROG_CC_STDC
Has been unobsoleted, and will check if the compiler supports ISO
C99, falling back to ANSI C89 if not. ac_cv_prog_cc_stdc is
retained for backwards compatibility, assuming the value of
ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
that order).
** AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
New macros for checking commonly-used members of struct dirent.
** AC_SUBST
The substituted value can now contain newlines.
** AC_SUBST_FILE
The substitution now occurs only when @variable@ is on a line by itself,
optionally surrounded by spaces and tabs. The whole line is replaced.
** AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
New macros to check for long double, and whether it is wider than double.
The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
applications should switch to the new macro.
** AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
New macros to check for C99 and POSIX types.
** AC_USE_SYSTEM_EXTENSIONS
New macro to enable extensions to Posix.
** AH_HEADER
New macro which is defined to the name of the first declared config header
or undefined if no config headers have been declared yet.
** AS_HELP_STRING
The macro correctly handles quadrigraphs now.
** AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
These macros are new or published now.
** AT_COPYRIGHT
New macro for copyright notices in testsuite files.
** ALLOCA, LIBOBJS, LTLIBOBJS
Object names added to these variables are now prefixed with `${LIBOBJDIR}',
as in `${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
`Makefile.in' in case the object files lie in a different directory.
The LIBOBJDIR feature is experimental.
** autoreconf
Supports --no-recursive now.
** New macros to support Erlang/OTP.
New macros for configuring paths to Erlang tools and libraries:
AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
AC_ERLANG_SUBST_LIB_DIR.
New macros for configuring installation of Erlang libraries:
AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
** The manual now mentions Gnulib more prominently.
** New macros to support Objective C.
AC_PROG_OBJC, AC_PROG_OBJCPP.
* Major changes in Autoconf 2.59b
Released 2004-08-20, by Paul Eggert.
** AC_CHECK_ALIGNOF
New macro that computes the default alignment of a type.
** AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
When cross-compiling, these macros will give a warning if the tool
is not prefixed. In the future, unprefixed cross tools will not
be detected; please consult the info documentation for information
about the reason of this change.
** AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
New macros that detect programs whose name is prefixed with the
target type, if the build type and target type are different.
** AC_REQUIRE_AUX_FILE
New trace macro that declares expected auxiliary files.
** AC_PROG_GREP
New macro that tests for a grep program that accepts as a long a line
as possible.
** AC_PROG_EGREP, AC_PROG_FGREP
These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
FGREP="$GREP -F" respectively if possible, or else run a path search for
a program that accepts as long a line as possible.
** AC_PROG_SED
New macro that tests for a sed program that truncates as few characters
as possible.
Martijn van Buul.
Changes:
Overview of Changes from GLib 2.11.4 to GLib 2.12
=================================================
* Bugs fixed:
344905 leap-year bug in g_time_val_from_iso8601 w/o HAVE_TIMEGM
* Updated translations (cy,nb,nl)
Overview of Changes from GLib 2.11.3 to GLib 2.11.4
===================================================
* GBookmarkFile:
- g_bookmark_file_remove_item returns a boolean
* g_mkstemp accepts the XXXXXX in the middle of
the template
* Bugs fixed:
344868 g_key_file_to_data should separate groups
* Updated translations (de,es,fr,gu,hi,ko,th)
Overview of Changes from GLib 2.11.2 to GLib 2.11.3
===================================================
* GBookmarkFile:
- g_bookmark_file_move_item: Return TRUE in case of
an empty target
* Bugs fixed:
343919 gunicollate.c: strxfrm bug on VC8
* Updated translations (fi)
Overview of Changes from GLib 2.11.1 to GLib 2.11.2
===================================================
* Add g_ascii_stroll to parse signed 64bit integers
* GMarkup: add a flag to treat CDATA as text
* GHashTable: add functions to remove all entries
* GMainLoop: add functions to find the currently
running source, and determine if it is destroyed
* Bug fixes:
342563 g_atomic_thread_init() needs to be called before
other _g_*_thread_init() functions
343548 Potential use after free in callers of g_string_free()
168538 Wish: Clearing contents of GHashTables
321886 GTK+ cannot be reliably used in multi-threaded
applications
341826 goption.c: 'strtoll' is C99's function
343899 g_ascii_formatd dosn't work as expected for all
format strings
317793 Make GEnumValue strings const
337129 Compile warnings in G_IMPLEMENT_INTERFACE
303622 What is G_TYPE_CHAR?
* Updated translations (bg,dz,eu,gl,ja,ko,nl,th,vi)
Overview of Changes from GLib 2.11.0 to GLib 2.11.1
===================================================
* GOption
- Support 64-bit integers
- Allow optional text before and after the options
in help output
* Bug fixes:
340538 gbase64-test writes OOB
340816 GKeyFile set_string_list invalid memory reads
339105 g_key_file_parse_value_as_double
340434 convert-test.c fails (function test_one_half)
311043 Memory leaks (and potential infinite loops)
when using G_ERRORCHECK_MUTEXES
335198 Error checking mutexes are fubar
341237 Add a G_OPTION_ARG_INT64
341192 g_io_channel_set_flags not implemented on win32
336120 Allow adding description before/after GOption
--help output body
341191 misplaced check in g_relation_delete
340530 mismatched calloc / g_free in win32 threads
* Updated translation (es)
Overview of Changes from GLib 2.10.x to GLib 2.11.0
===================================================
* GBookmarkFile: a parser for files containing bookmarks
stored using the Desktop Bookmark specification.
* Base64 encoding support
* Unicode 5.0 support
* GOption supports floating point numbers
* GKeyFile supports floating point numbers
* Bug fixes:
155884 gatomic.c should be based on new SDK
157877 update-desktop-database doesn't handle duplicate entries
164719 keyfile parser doesn't support floats
327662 Import BookmarkFile from libegg
329548 Add G_OPTION_ARG_DOUBLE
329789 option-test.c type confusion
332841 Segmentation Fault when %llu is passed to vasnprintf and
HAVE_SNPRINTF is not defined
333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define
_WIN32_WINDOWS 0x0401'
333916 g_timer_elapsed docs should mention that microseconds
may be NULL
334440 dlerror() portability issue causes crash on (old) a.out
NetBSD platform
334646 goption + error out params
334799 g_remove() must check return value of remove()
334943 make check FAIL: threadpool-test
335215 Some breakages with GThreadPool
336085 g_option_context_new parameter lacks better explanation
336677 Documentation for g_object_ref_sink() is incorrect
337027 gbookmarkfile.c: sys/time.h include error
337553 Wrong escaping of URIs
338572 Dereferencing NULL value in g_key_file_get_group_comment
338845 g_completion_complete_utf8 crashes when NULL is passed to it
339337 g_bookmark_file_set_description
339338 gbookmarkfile.c, function expand_exec_line
339340 gbookmarkfile.c, function bookmark_app_info_dump
* Translation updates (bg,en_GB,et,gl,gu,he,hi,ka,nb,nl,nn,
or,pt_BR,ro,tr,vi,zh_CN)
The configure script needs to use the c++ compiler to correctly setup the
glibconfig.h for handling of VARARGS when being included from c++ programs,
otherwise builds can fail. eg. when using SunWorkshop CC on Solaris and
compiling arts.
Bump PKGREVISION.
native Solaris diff which is not good enough for use in rcs.
Since configure picks up DIFF from the environment, patch-aa and patch-ab
became unnecessary.
Thanks to a patch by Stefan Pfetzing (slightly modified by me) this fixes
his PR pkg/33558.
directly. This didn't work because dlopen uses the rpath of the foremost
binary (not libSDL's one); therefore, some libraries could not be found.
For example, qemu was not working at all because it only has PREFIX in
its rpath, not X11PREFIX, and so libSDL could not load libX11 resulting
in a very strange error message.
There seem to be other problems such as the aalib video output crashing
or the wscons output not working, but these aren't very important (maybe
the problems have already gone away with this fix, I don't know). Anyway,
I think the former is fixed in 1.2.11.
Bump PKGREVISION to 1.