From: Jo-Philipp Wich Date: Sat, 4 Dec 2010 19:56:47 +0000 (+0000) Subject: [include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecatio... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=a93a873046a1a5d32f1254112071a76102cfda1e [include] 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 --- diff --git a/include/autotools.mk b/include/autotools.mk index 20227474cb..534add6425 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -57,18 +57,13 @@ endef Hooks/InstallDev/Post += libtool_remove_files -# XXX the libtool fixups got deactivated in the course of switching to libtool2 in trunk XXX -# ifneq ($(filter libtool,$(PKG_FIXUP)),) -# PKG_BUILD_DEPENDS += libtool -# Hooks/Configure/Pre += update_libtool remove_version_check -# Hooks/Configure/Post += update_libtool -# Hooks/InstallDev/Post += libtool_fixup_libdir -# endif -# -# ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),) -# PKG_BUILD_DEPENDS += libtool -# Hooks/Configure/Pre += update_libtool_ucxx remove_version_check -# Hooks/Configure/Post += update_libtool_ucxx -# Hooks/InstallDev/Post += libtool_fixup_libdir -# endif +ifneq ($(filter libtool,$(PKG_FIXUP)),) + # WARNING: the use of PKG_FIXUP is DEPRECATED + PKG_BUILD_DEPENDS += libtool +endif + +ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),) + # WARNING: the use of PKG_FIXUP is DEPRECATED + PKG_BUILD_DEPENDS += libtool +endif