From: Jose V Beneyto Date: Wed, 23 Dec 2009 09:54:10 +0000 (+0100) Subject: pkg-config: removed unused port on crosscompilation (maybe we'll need it in the futur... X-Git-Url: http://gitweb/?a=commitdiff_plain;h=064df41d605a49c6bf9fefa47c89c9f8b7319c99;p=crossrootfs.git pkg-config: removed unused port on crosscompilation (maybe we'll need it in the future but not for now) --- diff --git a/pkg-config/Pkgfile.cross.inactive b/pkg-config/Pkgfile.cross.inactive deleted file mode 100644 index 976868a..0000000 --- a/pkg-config/Pkgfile.cross.inactive +++ /dev/null @@ -1,23 +0,0 @@ -# Description: A system for managing library compile/link flags -# URL: http://pkgconfig.freedesktop.org/wiki/ -# Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org -# Depends on: - -name=pkg-config -version=0.23 -release=1 -source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ - $name-$version.glib_test.patch) - -build() { - cd $name-$version - patch -p1 -i $SRC/$name-$version.glib_test.patch - - ./configure --build=$CHOST \ - --host=$CTARGET \ - --prefix=/usr \ - --mandir=/usr/man - make #CFLAGS="$CFLAGS -I./glib-1.2.10" - make DESTDIR=$PKG install -} diff --git a/pkg-config/pkg-config-0.23.glib_test.patch b/pkg-config/pkg-config-0.23.glib_test.patch deleted file mode 100644 index 6eb0933..0000000 --- a/pkg-config/pkg-config-0.23.glib_test.patch +++ /dev/null @@ -1,211 +0,0 @@ -diff -purN pkg-config-0.23.orig/glib-1.2.10/configure pkg-config-0.23/glib-1.2.10/configure ---- pkg-config-0.23.orig/glib-1.2.10/configure 2009-11-30 14:46:09.000000000 +0100 -+++ pkg-config-0.23/glib-1.2.10/configure 2009-11-30 15:28:03.000000000 +0100 -@@ -20566,11 +20566,7 @@ echo $ECHO_N "checking for extra flags t - glib_save_LIBS=$LIBS - LIBS="$LIBS -lm" - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ LIBS="$LIBS -lm" - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -20612,11 +20608,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 - glib_save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -std1" - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ CFLAGS="$glib_save_CFLAGS" - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -23769,11 +23761,7 @@ if test "${glib_cv_has__inline+set}" = s - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_has__inline=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -23839,11 +23827,7 @@ if test "${glib_cv_has__inline__+set}" = - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_has__inline__=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -23909,11 +23893,7 @@ if test "${glib_cv_hasinline+set}" = set - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_hasinline=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -26330,11 +26310,7 @@ if test "${glib_cv_sane_realloc+set}" = - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_sane_realloc=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -26403,11 +26379,7 @@ if test "${glib_cv_va_copy+set}" = set; - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_va_copy=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -26477,11 +26449,7 @@ if test "${glib_cv___va_copy+set}" = set - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv___va_copy=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -26551,11 +26519,7 @@ if test "${glib_cv_va_val_copy+set}" = s - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_va_val_copy=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -27137,11 +27101,7 @@ if test "${glib_cv_rtldglobal_broken+set - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_rtldglobal_broken=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -27217,11 +27177,7 @@ echo $ECHO_N "checking for preceeding un - else - - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_uscore=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -28550,11 +28506,7 @@ echo $ECHO_N "checking for getpwuid_r... - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ ac_cv_func_getpwuid_r=yes - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -28730,11 +28682,7 @@ rm -f core conftest.err conftest.$ac_obj - echo $ECHO_N "checking whether pthread_mutex_trylock is posix like... $ECHO_C" >&6; } - # DCE Threads return 1 as success, posix 0. what a mess. - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ echo - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -28790,11 +28738,7 @@ fi - echo $ECHO_N "checking whether pthread_cond_timedwait is posix like... $ECHO_C" >&6; } - # DCE Threads return -1 as failure, posix ETIMEDOUT. - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ echo - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -28889,11 +28833,7 @@ if test "${glib_cv_sizeof_gmutex+set}" = - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ glib_cv_sizeof_gmutex=0 - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -29063,11 +29003,7 @@ for glib_sysdef_input in POLLIN:1 POLLOU - done - echo "return 0; }" >>confrun.c - if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ echo - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */