diff options
-rw-r--r-- | mk/pkg-bottom.mk | 18 | ||||
-rw-r--r-- | package/cryptsetup/patches/patch-aclocal_m4 | 26 | ||||
-rw-r--r-- | package/file/Makefile | 1 | ||||
-rw-r--r-- | scripts/automake.dep | 30 |
4 files changed, 47 insertions, 28 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index fa1baf5cb..361329aa7 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -11,10 +11,26 @@ # * if you have a style -> define a pre-foo: and post-foo: if they # are required, but the do-foo: magic is done here +REORDER_DEPENDENCIES= ${TOPDIR}/scripts/automake.dep + pre-configure: do-configure: post-configure: ${_CONFIGURE_COOKIE}: ${_PATCH_COOKIE} + @sed -e '/^#/d' ${REORDER_DEPENDENCIES} | \ + tsort | tac | while read f; do \ + cd ${WRKSRC}; \ + case $$f in \ + /*) \ + find . -name "$${f#/}" -print | while read i; do \ + touch "$$i"; \ + done;; \ + *) \ + if test -e "$$f" ; then \ + touch "$$f"; \ + fi;; \ + esac; \ + done mkdir -p ${WRKBUILD} @${MAKE} pre-configure $(MAKE_TRACE) @@ -164,7 +180,7 @@ endif find usr ! -type d 2>/dev/null | \ grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \ tee '${STAGING_PARENT}/pkg/${PKG_NAME}' | \ - cpio -padlmuv '${STAGING_DIR}' + cpio -padlmu '${STAGING_DIR}' @cd '${STAGING_DIR}'; grep 'usr/lib/.*\.la$$' \ '${STAGING_PARENT}/pkg/${PKG_NAME}' | while read fn; do \ chmod u+w $$fn; \ diff --git a/package/cryptsetup/patches/patch-aclocal_m4 b/package/cryptsetup/patches/patch-aclocal_m4 deleted file mode 100644 index 4d3ef4bff..000000000 --- a/package/cryptsetup/patches/patch-aclocal_m4 +++ /dev/null @@ -1,26 +0,0 @@ ---- cryptsetup-1.1.0.orig/aclocal.m4 2010-01-17 11:29:20.000000000 +0100 -+++ cryptsetup-1.1.0/aclocal.m4 2010-02-16 20:32:36.840860169 +0100 -@@ -1,4 +1,4 @@ --# generated automatically by aclocal 1.11 -*- Autoconf -*- -+# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -@@ -143,7 +143,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], - [am__api_version='1.11' - dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to - dnl require some minimum version. Point them to the right macro. --m4_if([$1], [1.11], [], -+m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl - ]) - -@@ -159,7 +159,7 @@ m4_define([_AM_AUTOCONF_VERSION], []) - # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. - # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. - AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], --[AM_AUTOMAKE_VERSION([1.11])dnl -+[AM_AUTOMAKE_VERSION([1.11.1])dnl - m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl - _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) diff --git a/package/file/Makefile b/package/file/Makefile index 2b68ec306..e24b80cbb 100644 --- a/package/file/Makefile +++ b/package/file/Makefile @@ -19,7 +19,6 @@ $(eval $(call PKG_template,FILE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_ pre-configure: (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ - CFLAGS="-static" \ ./configure --enable-static --disable-shared \ --disable-warnings \ ); diff --git a/scripts/automake.dep b/scripts/automake.dep new file mode 100644 index 000000000..c729e87a1 --- /dev/null +++ b/scripts/automake.dep @@ -0,0 +1,30 @@ +configure configure.ac +configure configure.in +configure missing +/Makefile.in /Makefile.am +/Makefile.in configure.in +/Makefile.in configure.ac +/Makefile.in aclocal.m4 +aclocal.m4 configure.in +aclocal.m4 configure.ac +aclocal.m4 acinclude.m4 +config.h.in configure.in +config.h.in configure.ac +config.h.in aclocal.m4 +configure configure.in +configure configure.ac +configure aclocal.m4 +stamp-h.in configure.in +stamp-h.in configure.ac +stamp-h.in aclocal.m4 +stamp-h.in acconfig.h +/Makefile.am subdirs +/Makefile.am /Makefile.am.in +subdirs /Makefile.am.in +configure.files subdirs +configure.files /configure.in.in +configure.files admin/configure.in.min +configure.in configure.files +acinclude.m4 admin/libtool.m4.in +acinclude.m4 admin/acinclude.m4.in +acinclude.m4 libltdl/ltdl.m4 |