Commit Graph

36 Commits (d3c2b87213358a80a9d25f45fe1ba81d409dd2d8)

Author SHA1 Message Date
Jo-Philipp Wich 4fec7f7edb autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
SVN-Revision: 25312
2011-02-02 18:18:38 +00:00
Jo-Philipp Wich ec45087403 autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS
SVN-Revision: 24830
2010-12-26 02:06:50 +00:00
Jo-Philipp Wich f28b49208b autotools.mk: like libintl, make all libtool fixup packages depend on the libiconv stub
SVN-Revision: 24708
2010-12-19 04:41:18 +00:00
Jo-Philipp Wich fd181101aa autotools.mk: add a (dummy) libintl build dependency to any package using the libtool fixup
SVN-Revision: 24700
2010-12-19 02:37:56 +00:00
Jo-Philipp Wich c9f9fc8154 autotools.mk: remove HOST_BUILD_DEPENDS on libtool
SVN-Revision: 24676
2010-12-18 18:14:25 +00:00
Jo-Philipp Wich 4e19240b9b autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either
SVN-Revision: 24664
2010-12-18 13:19:59 +00:00
Jo-Philipp Wich a4350e3861 autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
SVN-Revision: 24588
2010-12-15 06:05:41 +00:00
Jo-Philipp Wich 249693d50b autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)
SVN-Revision: 24574
2010-12-15 01:24:16 +00:00
Jo-Philipp Wich 6489a9c575 autotools.mk: don't rely on shipped autogen.sh files
SVN-Revision: 24573
2010-12-15 01:14:14 +00:00
Jo-Philipp Wich f3ac8849a5 autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf
SVN-Revision: 24570
2010-12-15 00:19:08 +00:00
Jo-Philipp Wich dbf8d9c516 - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk
SVN-Revision: 24551
2010-12-13 19:04:33 +00:00
Jo-Philipp Wich 135cfe50c9 autotools.mk: add yet another aclocal path
SVN-Revision: 24547
2010-12-13 16:05:53 +00:00
Jo-Philipp Wich c48a705702 autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'
SVN-Revision: 24534
2010-12-13 01:44:28 +00:00
Jo-Philipp Wich bf9e9b6a91 rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich 88a1c20900 autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
SVN-Revision: 24458
2010-12-10 22:59:07 +00:00
Jo-Philipp Wich 3560c34214 autotools.mk: remove autom4ate.cache directory when autoreconf-ing
SVN-Revision: 24434
2010-12-10 16:28:20 +00:00
Felix Fietkau ffbed0f08a support the autoreconf fixup without libtool
SVN-Revision: 24423
2010-12-10 15:20:51 +00:00
Jo-Philipp Wich 6541593b34 autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
SVN-Revision: 24348
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich fa3c5ac38a autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
SVN-Revision: 24344
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich 48b953fa1c autotools.mk: allow disabling autoreconf, remove libdir fixup
SVN-Revision: 24321
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich f3f3be3dfe autotools.mk: allow autogen.sh / autoreconf to fail (for now)
SVN-Revision: 24320
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich 69aeb3a06c autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
SVN-Revision: 24319
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich 591190e215 deploy the steamroller tactics and autoreconfigure any package carring the libtool fixup, this should solve a number of issues ranging from linking into the host, syntax errors in libtool and missing make targets
SVN-Revision: 24317
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich c10515db65 re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
SVN-Revision: 24246
2010-12-04 19:56:47 +00:00
Mirko Vogt 9a18fff28e ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files
SVN-Revision: 24241
2010-12-04 13:44:43 +00:00
Mirko Vogt b599f7dc42 disable libtool fixups in trunk globally
SVN-Revision: 24234
2010-12-04 00:11:09 +00:00
Felix Fietkau c4b3e38fc0 fix libtool fixup for libstdc++
SVN-Revision: 22732
2010-08-19 17:46:11 +00:00
Felix Fietkau e10df8d2b5 add a new helper macro to deal with conditional ./configure flags
SVN-Revision: 20570
2010-03-29 03:38:40 +00:00
Lars-Peter Clausen bd2e3ccd6f autotools.mk: Don't try to fixup .la files in the DevInstall host path, because those .la files shouldn't go there anyway.
SVN-Revision: 19785
2010-02-20 23:40:53 +00:00
Lars-Peter Clausen d38ce9313b autotools.mk: Add PKG_LIBTOOL_PATHS variable.
PKG_LIBTOOL_PATHS can be used to specify to tell libtool_fixup where to look
for libtool scripts of a package. This is useful if a package has it's libtool
script in a non-standard location or has multiple libtool scripts.

The value should be a space seperated list of paths which are relative to
$(PKG_BUILD_DIR). It defautls to $(CONFIGURE_PATH).

SVN-Revision: 19713
2010-02-18 23:50:44 +00:00
Lars-Peter Clausen 93567fed7a autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir. Fixes build of packages which use libtool and link against packages which link against libstdc++
SVN-Revision: 19399
2010-01-30 14:51:22 +00:00
Lars-Peter Clausen 246a5b334d More libtool madness: Every package which was using c++ and libtool fixup was linked against libstd++ even though if it should have been linked against uclibc++. This is fixed by providing a special version of libtool fixup for packages which should use uclibc++. Not pretty but functional. Packages linking against uclibc++ should use PKG_FIXUP:=libtool-ucxx instead of PKG_FIXUP:=libtool
Somebody should probably check all packages using c++ with a dependency on stdlibc++
if uclibc++ can be used instead now.

SVN-Revision: 16317
2009-06-04 00:20:01 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Lars-Peter Clausen 6f774d468f Change libtool fixup behaviour. Still ugly but it works until we have a real fix. It uses a InstallDev/Post hook to find all .la files which are going to be installed in the staging dir and prefixes every path in those files which starts with /usr/lib with $(STAGING_DIR).
SVN-Revision: 12586
2008-09-13 00:29:13 +00:00
Felix Fietkau 585a9ff548 fix libtool version checks in some configure scripts
SVN-Revision: 9943
2007-12-27 02:11:11 +00:00
Felix Fietkau 5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
2007-12-27 02:11:07 +00:00