summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-17 22:30:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-17 22:30:46 +0100
commita930bf592b9be7b3b3eec827519ec6e7d02673da (patch)
tree3cb81b3961ca52a96c23d98e7d11e319febaa1c2
parent138f0238a83167d440339a901056618e7a8d0236 (diff)
parent4e434808f57408d58b48e2c9c2fa0401ccb0f967 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--mk/pkg-bottom.mk18
-rw-r--r--package/cryptsetup/patches/patch-aclocal_m426
-rw-r--r--package/file/Makefile1
-rw-r--r--package/nspr/Makefile2
-rw-r--r--scripts/automake.dep30
5 files changed, 48 insertions, 29 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 604b0cc9d..41fecf3f2 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)
@@ -161,7 +177,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/package/nspr/Makefile b/package/nspr/Makefile
index 4a5fe323b..9072977a1 100644
--- a/package/nspr/Makefile
+++ b/package/nspr/Makefile
@@ -20,7 +20,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NSPR,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}"
+CONFIGURE_ENV+= OS_TARGET="Linux" HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}"
post-install:
$(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
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