aboutsummaryrefslogtreecommitdiff
path: root/package/libxml2
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-30 13:54:42 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-30 13:54:42 +0000
commite4051615c4ba14b75bd52dd03db7914f8a0a5c76 (patch)
treeae9e4efc0f16838e972d4b1d03765cab46453066 /package/libxml2
parent92bd25c9eb14eafb1beb8f41af71fef1e545922a (diff)
downloadbuildroot-e4051615c4ba14b75bd52dd03db7914f8a0a5c76.tar.gz
buildroot-e4051615c4ba14b75bd52dd03db7914f8a0a5c76.tar.bz2
dbus: revert r25156 (Fix dbus dependency on libxml2, without rebuild, works but may need refinement)
As discussed on the list - Too complicated and wrong.
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/libxml2.mk15
1 files changed, 2 insertions, 13 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 0152c96154..e183de50da 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -8,7 +8,7 @@ LIBXML2_SOURCE = libxml2-sources-$(LIBXML2_VERSION).tar.gz
LIBXML2_SITE = ftp://xmlsoft.org/libxml2
LIBXML2_INSTALL_STAGING = YES
LIBXML2_INSTALL_TARGET = YES
-LIBXML2_LIBTOOL_PATCH = NO
+
ifneq ($(BR2_LARGEFILE),y)
LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
endif
@@ -27,21 +27,10 @@ $(LIBXML2_HOOK_POST_EXTRACT):
rm -f $(LIBXML2_DIR)/macos/src/XMLTestPrefix.h.rej
touch $@
-$(LIBXML2_HOOK_POST_INSTALL):\
- $(LIBXML2_TARGET_SOURCE) \
- $(LIBXML2_TARGET_EXTRACT) \
- $(LIBXML2_HOOK_POST_EXTRACT) \
- $(LIBXML2_TARGET_PATCH) \
- $(LIBXML2_TARGET_AUTORECONF) \
- $(LIBXML2_TARGET_CONFIGURE) \
- $(LIBXML2_TARGET_LIBTOOL_PATCH) \
- $(LIBXML2_TARGET_BUILD) \
- $(LIBXML2_HOOK_POST_BUILD) \
- $(LIBXML2_TARGET_INSTALL_STAGING)
+$(LIBXML2_HOOK_POST_INSTALL):
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
$(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
rm -rf $(TARGET_DIR)/usr/share/aclocal \
$(TARGET_DIR)/usr/share/doc/libxml2-$(LIBXML2_VERSION) \
$(TARGET_DIR)/usr/share/gtk-doc
touch $@
-