Alien-pkgconf
view release on metacpan or search on metacpan
0.11 2017-12-27 09:33:28 -0500
- Require pkgconf 1.3.90
- patch pkgconf-1.3.9 on solaris for compiler flags
- other Solaris specific workarounds
0.10 2017-03-01 23:38:24 -0500
- Require pkgconf 1.3.0
0.09 2017-01-31 18:31:22 -0500
- patch pkgconf-1.2.1 on cygwin for path_relocate bug
- No longer require Alien::xz, as pkgconf is distributed as .tar.gz again
0.08 2017-01-22 11:47:10 -0500
- Better detection support for platforms: Red Hat, CentOS
0.07 2017-01-22 02:21:48 -0500
- Require libpkgconf 1.2.0 or better, as the API
changed at that point.
0.06 2017-01-18 15:56:22 -0500
- Better detection support for platforms: dragonflybsd
0.04 2017-01-18 06:49:45 -0500
- Better detection support for platforms: cygwin, netbsd, openbsd
- Use Alien::xz under share install for better decompression reliability
0.03 2017-01-01 11:24:51 -0500
- Fixed bug when installing on Perl 5.8/5.10
0.02 2017-01-01 10:36:16 -0500
- Handle relocations
- Fix install of site and vendor installs
- Add a Test::Alien XS test
0.01 2016-12-31 16:42:03 -0500
- Initial version
patch/pkgconf-cygwin-1.2.1.diff view on Meta::CPAN
#include <libpkgconf/libpkgconf.h>
#include <libpkgconf/config.h>
-#ifdef HAVE_CYGWIN_CONV_PATH
+#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__)
# include <sys/cygwin.h>
#endif
@@ -246,7 +246,7 @@ pkgconf_path_free(pkgconf_list_t *dirlist)
bool
pkgconf_path_relocate(char *buf, size_t buflen)
{
-#if defined(HAVE_CYGWIN_CONV_PATH)
+#if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__)
ssize_t size;
char *tmpbuf, *ti;
patch/pkgconf-solaris-1.3.9.diff view on Meta::CPAN
--- pkgconf-1.3.9-orig/Makefile.in Tue Sep 19 22:36:32 2017
+++ pkgconf-1.3.9/Makefile.in Sun Sep 24 15:12:37 2017
@@ -375,7 +375,7 @@
pkg_default_dir = @PKGCONFIGDIR@
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = libpkgconf.pc
-AM_CFLAGS = -Wall -Wextra -Wformat=2 -std=gnu99 -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
+AM_CFLAGS = -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
lib_LTLIBRARIES = libpkgconf.la
EXTRA_DIST = pkg.m4 \
tests/lib-relocatable/lib/pkgconfig/foo.pc \
diff -r -u pkgconf-1.3.9-orig/aclocal.m4 pkgconf-1.3.9/aclocal.m4
--- pkgconf-1.3.9-orig/aclocal.m4 Tue Sep 19 22:36:31 2017
+++ pkgconf-1.3.9/aclocal.m4 Sun Sep 24 15:12:37 2017
@@ -20,6 +20,81 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+# ===========================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
+# ===========================================================================
patch/pkgconf-solaris-1.3.9.diff view on Meta::CPAN
+AX_CHECK_COMPILE_FLAG([-Wformat=2], [CFLAGS="$CFLAGS -Wformat=2"])
+AX_CHECK_COMPILE_FLAG([-std=gnu99], [CFLAGS="$CFLAGS -std=gnu99"], [
+ AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="$CFLAGS -std=c99"])
+])
AC_CONFIG_HEADERS([libpkgconf/config.h])
AC_CHECK_FUNCS([strlcpy strlcat strndup cygwin_conv_path])
AC_CHECK_HEADERS([sys/stat.h])
Common subdirectories: pkgconf-1.3.9-orig/doc and pkgconf-1.3.9/doc
Common subdirectories: pkgconf-1.3.9-orig/libpkgconf and pkgconf-1.3.9/libpkgconf
Common subdirectories: pkgconf-1.3.9-orig/tests and pkgconf-1.3.9/tests
Common subdirectories: pkgconf-1.3.9-orig/tests/lib-relocatable and pkgconf-1.3.9/tests/lib-relocatable
Common subdirectories: pkgconf-1.3.9-orig/tests/lib1 and pkgconf-1.3.9/tests/lib1
Common subdirectories: pkgconf-1.3.9-orig/tests/lib2 and pkgconf-1.3.9/tests/lib2
Common subdirectories: pkgconf-1.3.9-orig/tests/lib3 and pkgconf-1.3.9/tests/lib3
diff -r -u pkgconf-1.3.9-orig/tests/test_env.sh pkgconf-1.3.9/tests/test_env.sh
--- pkgconf-1.3.9-orig/tests/test_env.sh Tue Sep 19 22:36:37 2017
+++ pkgconf-1.3.9/tests/test_env.sh Sun Sep 24 15:13:05 2017
@@ -1,5 +1,5 @@
export PATH="$(atf_get_srcdir)/../:${PATH}"
-selfdir="/Users/kaniini/dev-src/pkgconf/tests"
+selfdir="/export/home/ollisg/dev/Alien-pkgconf/_alien/tar/pkgconf-1.3.9/tests"
PATH_SEP=":"
SYSROOT_DIR="${selfdir}/test"
if [ "$(uname -s)" = "Msys" ]; then
Common subdirectories: pkgconf-1.3.9-orig/tests/lib-relocatable/lib and pkgconf-1.3.9/tests/lib-relocatable/lib
Common subdirectories: pkgconf-1.3.9-orig/tests/lib-relocatable/lib/pkgconfig and pkgconf-1.3.9/tests/lib-relocatable/lib/pkgconfig
( run in 1.031 second using v1.01-cache-2.11-cpan-5511b514fd6 )