Commit graph

44 commits

Author SHA1 Message Date
obache
4feda55fec disable maintainer mode for internal glib2, same as devel/glib2. 2013-09-28 06:32:08 +00:00
adam
836ff858f8 Seems like this patch is not needed any more 2013-05-16 19:03:10 +00:00
adam
0123478772 Fix for PR#47761 2013-05-16 13:55:42 +00:00
obache
5a0456c154 Apply cygport glib2 2.32.1-not-win32.patch to fix build on Cygwin. 2013-04-13 11:10:03 +00:00
jperkin
05db16f6b3 Ensure the Darwin libiconv_open hack is only applied when using the
native iconv.
2013-03-18 14:01:24 +00:00
wiz
6ca5263d20 Update to 0.28:
pkg-config 0.28
===
- Fixed a pair of long-standing and intertwined bugs involving unwanted
  removal of flags. The first is that other Libs flags like -Wl are now
  kept in context order with -l flags. The second is that aggressive
  removal of all duplicate arguments has been scaled back so that just
  consecutive duplicate arguments are removed. One result of this change
  is that some flags could be repeated in the final output, especially
  flags from non-pkg-config packages like -lm. Since pkg-config rarely
  has enough knowledge here about the right thing to do, we throw the
  duplicate arguments at the compiler/linker and trust it will do the
  right thing.
- Fixed an old bug to allow circular Requires. This fix brings along a
  small behavior change in that pkg-config resolves requires depth
  first, causing some lower level flags to show up earlier in the output
  than previously.
- Cleaned up many corner-case bugs and ambiguous behavior in
  pkg-config's interface. Thanks to Michał Górny for finding so many of
  these.
- New autoconf macro PKG_CHECK_VAR for reading variables from .pc files.
- Default to suppressing -L/lib and/or -L/lib64 like their /usr
  counterparts.
- To help support multiarch scenarios out of the box, $host-pkg-config
  is now installed unless --disable-host-tool is passed to configure.
***disabled in pkgsrc***
- Added optional gcov usage through the --with-gcov configure option. As
  a result, many more tests were added to greatly increase the coverage
  of the code to 86% of executed lines on a Fedora 18 machine.
- Bugs fixed: 130, 7331, 16101, 17053, 19950, 34504, 48098, 54231,
  54271, 54379, 54384, 54386, 54388, 54389, 54390, 54391, 54427, 54463,
  54716, 57078, 58363, 59435.
2013-01-29 05:56:05 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
adam
b3c91882e5 Removed dependency on gettext-lib and msgfmt; clean-up 2012-08-26 18:36:08 +00:00
wiz
44fc8f662a regen 2012-08-26 18:21:46 +00:00
wiz
b3bf6d9168 Remove now unnecessary patch. 2012-08-26 18:21:26 +00:00
adam
7a019e9761 Changes 0.27.1:
- Various fixes for using the internal glib snapshot. It should now be
  usable pretty much everywhere with the exception that universal
  builds are not supported on OS X.
- Remove usage of gettext from the internal glib to avoid gettext and
  libintl dependencies.
- Update internal glib snapshot to 2.32.4.
- Fix check for POSIX shell used in tests to work better.
- Handle spaces in autodetected prefix on Windows.
- Bugs fixed 3550, 51883, 52031, 53493.
2012-08-26 18:10:25 +00:00
adam
384d7ec2a9 Fix building on OSX (similar to devel/glib2) 2012-08-23 13:34:44 +00:00
dsainty
ad74152af0 Rather than assuming SunOS == libiconv, use ICONV_TYPE in the usual manner
to correctly express what variety of iconv we are using.

Fixes build on Linux systems with PREFER_PKGSRC=yes.
2012-08-20 04:56:00 +00:00
tron
9ad454980b Disable DTrace support under NetBSD which breaks the build if DTrace is
actually installed.
2012-08-18 14:40:12 +00:00
jperkin
67eb58ce34 Fix build on Solaris.
If more systems require the libiconv fix then it's going to be more efficient
to re-use the logic from devel/glib2.  This is such a mess :(
2012-08-15 10:12:54 +00:00
marino
d4b8840571 devel/pkg-config: USE_TOOLS+= msgfmt
Breaks at configure if msgfmt tool not found on system.
2012-08-13 08:01:54 +00:00
tron
33f4a69e0a Add dependence on "gettext-lib" package. This fixes the build under
Mac OS X Lion, no changes under NetBSD/amd64 6.0_BETA2. Bump package
revision because the binary package might have changed on some platforms.
2012-08-13 07:50:39 +00:00
wiz
7be8a821d8 Update to 0.27:
pkg-config 0.27
===

 - Drop usage of popt for equivalent API in glib2.
 - Add back an internal snapshot of glib2 to break circular dependency.
   This can be used by passing --with-internal-glib to configure. On
   Windows it may still be required to use an installed glib.
 - Fix --exists to check for Requires and Requires.private. This ensures
   that all necessary packages are installed prior to using --cflags,
   --libs, etc.
 - Various fixes for MinGW which should allow it to be used unpatched on
   that system.
 - New autoconf macros PKG_INSTALLDIR and PKG_NOARCH_INSTALLDIR to help
   determine the .pc file install directory.
 - Fix handling of --exact/atleast/max-version vs. =/>=/<=.
 - Fix errors in man page source.
 - Ensure testing only searches in the check directory.
 - Bump glib requirement to 2.16 to avoid deprecated
   g_win32_get_package_installation_subdirectory().
 - Autotools refresh and update. The required versions now are
   autoconf-2.62, automake-1.11 and libtool-2.2.
 - Use g_alloca from glib instead of figuring out alloca ourselves.
 - Remove search for setresuid & setreuid only needed for internal popt.
 - Bugs fixed: 833, 2458, 5214, 5326, 5703, 6074, 8653, 9135, 9143,
   9584, 10652, 11464, 14396, 17053, 23922, 28776, 29011, 29801, 31699,
   31700, 32622, 34382, 37266, 39646, 41081, 43149, 44843, 45599, 45742,
   48743

pkg-config 0.26
===

 - Build system fixes
 - More tests
 - pkg.m4 fixups which makes autoconf 2.66 happier.
 - Drop support for legacy -config scripts.  Those should already be
   gone and cause problems in cross-compilation environments.
 - Drop embedded glib
 - Fix up pkg.m4 to handle the case of --exists working and --cflags
   or --libs failing.
 - Various documentation updates
 - Allow $() through without escaping it.
 - Add --with-system-include-path instead of hard-coding
   /usr/include.
2012-08-12 16:28:06 +00:00
hauke
62e262ad2b Squash a C++ism: Variable declarations only at the beginning of a block.
Found while building on NetBSD 1.5.
2010-12-10 07:45:56 +00:00
dsainty
20bb34fd94 patch-ab is upstream now (PKG_CONFIG_LOG support). Remove the patch to
avoid crashing with double free on glibc.

Bump PKGREVISION for new "not crash" functionality.
2010-09-28 04:52:41 +00:00
adam
4545efde3d Changes 0.25:
* 0.24 included a too strict whitespace/shell metacharacter filter
  leading to some legal characters like = and : being escaped in the
  output.  This has been fixed.
* when building with newer and external libpopt, it would be confused
  over being asked to split an empty string, leading to errors with
  packages that included empty fields in their .pc files.
* Make the COPYING file explicitly GPLv2.  The COPYING file in 0.24
  was inadvertently GPLv3 rather than the correct GPLv2.
* Minor changes to documentation

Changes 0.24:
* Fix up bug in PKG_CONFIG_SYSROOT handling which mangled non-I and
  non-L arguments
* Put /usr/lib/pkgconfig and /usr/share/pkgconfig into the default
  search path when no prefix is passed to configure.
* Portability fixes for Windows and NetBSD
* Various man page updates
* Add logging support to log how pkg-config is being called.
* Skip Requires.private unless we need them for Cflags
* Add a variable, pc_path to the compiled-in pkg-config package that
  you can query for the compiled-in PKG_CONFIG_PC_PATH.
* Various updates to pkg.m4.
* Update rpmvercmp with bugfixes from upstream.
* Add introductory guide to pkg-config, thanks to Dan Nicholson for
  the patch.
* Add listing of variables in a package
* Make it possible to use external popt.
* Add --print-provides and --print-requires(-private) options
* Add support for paths containing whitespace and shell metacharacters
2010-09-23 07:07:46 +00:00
obache
5c0b8ca2cb Need --tag=CC for libtool-2. 2010-07-18 13:05:07 +00:00
heinz
f6eb5e6f2a Set or updated LICENSE 2010-01-16 19:27:17 +00:00
cube
c878b10db6 Add X11BASE/lib/pkgconfig and /usr/lib/pkgconfig to the default path if
they're relevant.

Bump PKGREVISION.
2009-04-13 17:39:57 +00:00
reed
fcd73e3f13 The va_copy configure checks for the included glib1.
So on FreeBSD before 5 default to glib_cv_va_copy=no.
(Time to upgrade :)
2008-04-16 22:50:43 +00:00
obache
fa8563bc17 Add glib_cv_rtldglobal_broken=no for internal glib-1.2.10 as devel/glib doing.
While here, cross-compilation support again.
2008-03-24 14:27:33 +00:00
wiz
1a6f982900 Update to 0.23:
- Add support for setting sysroot through PKG_CONFIG_SYSROOT_DIR in
   the environment.
 - Update included glib to 1.2.10.
 - Other minor fixes, including a segfault.
2008-03-04 09:22:27 +00:00
joerg
1150507c07 Avoid duplicate main() in va_copy tests as reported by Dan McMahill. 2008-01-31 21:46:43 +00:00
joerg
0a8b443e73 Restore cross-compiling ability. 2008-01-15 22:56:57 +00:00
wiz
b5375e450a Update to 0.22:
pkg-config 0.22
===
 - Make Requires.private a whole lot more useful by traversing the
   whole tree, not just the top-level, for Cflags.
 - Add support for using the system glib.
 - Update URL to pkg-config website
 - Fix some win32 problems.
 - Other minor fixes.
2007-11-30 22:12:07 +00:00
joerg
a8bf321ffc Remove calls to gnomeconfig when no matching .pc file was found.
Bump revision.
2007-10-21 14:01:16 +00:00
joerg
812dd65cb3 Add cross-compilation support: realloc(NULL, x) works as expected
on NetBSD, just assume that anything follows the ELF semantic and
has no leading underscore. This doesn't matter much as the module
support of glib is not used by pkg-config. Patch away the check for
ANSI library flags as we only support ANSI C compiler anyway. Move
the checks for the various inline keywords to compile-only. Always
fake the poll results, it doesn't really matter either.
2007-07-03 17:42:58 +00:00
wiz
95fe7b87e9 Fix pkg.m4: it was broken in the case when pkg-config is not installed,
but the path to an installed dependency is passed via FOO_CFLAGS/FOO_LIBS.

Bump PKGREVISION.
2007-06-01 19:03:46 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
rillig
f0df9e43aa Added a patch so that pkg-config builds with PKGSRC_RUN_TEST. Fixed a
bug in the configure script and added a comment to patch-aa.
2006-10-04 18:48:04 +00:00
schwarz
acb654bfa2 added support for non-C99 compilers (patch OK'd by original author) 2006-10-01 08:55:32 +00:00
wiz
bfae647ea2 Update to 0.21:
pkg-config 0.21
===
 - Fix some cosmetic output from pkg.m4
 - Fix build problems with !gcc due to always passing -Wall
 - Documentation fixes
 - We now always add the Cflags from packages we depend on, whether
   they are public or private dependencies.  The discussion surrouding
   this change can be found in http://bugs.debian.org/340904 .
 - Add internal pkg-config package which can be queried for version
   number and other information.
2006-08-22 18:21:22 +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
wiz
591df4e535 Update to 0.20:
- Fix test suite to work on Solaris.  Yay non-POSIX /bin/sh :-(
 - Fix segfault on --help with gcc4.  Fix segfault on bigendian arches
   in some cases.
 - Win32 fixes
 - Add --short-errors, now used by pkg.m4 if available.  This gives a
   better error message if some libraries can't be found.
2005-10-22 12:59:14 +00:00
jmmv
d47c7a7d3d Avoid passing a NULL pointer to fprintf, which causes a segfault under
Solaris 9.  My fault; I assumed all implementations could print '(null)'
in that case.  Bump PKGREVISION to 2.  Fixes PR pkg/31838 by John Heasley.
2005-10-16 21:51:29 +00:00
jmmv
7101135139 Add support to generate a log file that keeps track of all requests to
pkg-config.  Used by the upcoming pkgtools/verifypc package.  Bump
PKGREVISION to 1.
2005-10-01 12:52:16 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
grant
f7f7ffafdc since the version number was not bumped, allow previous installations
of devel/pkgconfig to satisfy the buildlink dependency.
2005-07-22 01:57:02 +00:00
wiz
2f7f428381 Import pkg-config-0.19, updated version of devel/pkgconfig.
News:

2005-07-16  Tollef Fog Heen

	* configure.in: Release 0.19

2005-07-15  Tollef Fog Heen

	* pkg.c (package_get_var): Make sure to g_strdup all the return
	values and not return some values which should not be freed and
	some which should.  Yay valgrind.  Freedesktop #3682

	* configure.in: Fix default search path to be pkgconfig rather
	than pkg-config again.  Freedesktop #3662

	* pkg.m4: Add a missing AC_MSG_RESULT.  Thanks to Gary Kramlich
	for noticing this and harassing me to fix it.

2005-06-29  Tollef Fog Heen

	* configure.in: Release 0.18.1

	* pkg.m4: Brown bag fix.  pkg_failed was always set to “untried”.
	Debian #316181.

2005-06-27  Tollef Fog Heen

	* configure.in: Rename to pkg-config.

pkg-config 0.18

 The inter-library dependencies check was too tight and caused
 problems if one used the --no-undefined flag to libtool on Solaris
 (since it there expands to -Wl,-z,defs which disallows undefined
 symbols).  Add a new name to .pc files: Libs.private which will
 not be listed in the output of --libs unless --static is also
 given.

 Private libraries are libraries which are needed in the case of
 static linking or on platforms not supporting inter-library
 dependencies.  They are not supposed to be used for libraries
 which are exposed through the library in question.  An example of
 an exposed library is GTK+ exposing Glib.  A common example of a
 private library is libm.

 Generally, if include another library's headers in your own, it's
 a public dependency and not a private one.

 Thanks a lot to James Henstridge for both the bug and the following
 discussion.
2005-07-21 16:22:42 +00:00