Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: laird at uclibc.org <laird@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libxml2
Date: Thu, 28 Aug 2008 03:56:39 -0700 (PDT)	[thread overview]
Message-ID: <20080828105639.73E743C7AB@busybox.net> (raw)

Author: laird
Date: 2008-08-28 03:56:38 -0700 (Thu, 28 Aug 2008)
New Revision: 23274

Log:
libxml2: Post process xml2-config file to actually work and bump version

Version bumped to 2.6.31
(2.6.32 has .rej files so patch target fails - upstream need to be informed).

The xml2-config file in staging dir needs to have prefix / exec-prefix setup
to understand the staging directory location.

This then means that packages that call xml2-config to get include paths/cflags
and libs etc work properly. 

This is very similar to what freetype does to freetype-config.



Modified:
   trunk/buildroot/package/libxml2/libxml2.mk


Changeset:
Modified: trunk/buildroot/package/libxml2/libxml2.mk
===================================================================
--- trunk/buildroot/package/libxml2/libxml2.mk	2008-08-28 07:33:17 UTC (rev 23273)
+++ trunk/buildroot/package/libxml2/libxml2.mk	2008-08-28 10:56:38 UTC (rev 23274)
@@ -3,11 +3,9 @@
 # libxml2
 #
 #############################################################
-
-LIBXML2_VERSION = 2.6.29
+LIBXML2_VERSION = 2.6.31
 LIBXML2_SOURCE = libxml2-sources-$(LIBXML2_VERSION).tar.gz
 LIBXML2_SITE = ftp://xmlsoft.org/libxml2
-LIBXML2_AUTORECONF = NO
 LIBXML2_INSTALL_STAGING = YES
 LIBXML2_INSTALL_TARGET = YES
 LIBXML2_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
@@ -26,6 +24,8 @@
 $(eval $(call AUTOTARGETS,package,libxml2))
 
 $(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

             reply	other threads:[~2008-08-28 10:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-28 10:56 laird at uclibc.org [this message]
2008-08-28 11:37 ` [Buildroot] svn commit: trunk/buildroot/package/libxml2 Bernhard Reutner-Fischer
  -- strict thread matches above, loose matches on Subject: below --
2009-01-27 15:02 jacmet at uclibc.org
2008-10-10 14:41 laird at uclibc.org
2008-08-24  7:48 jacmet at uclibc.org
2008-08-23 13:08 jacmet at uclibc.org
2008-08-23 13:08 jacmet at uclibc.org
2008-08-23 13:08 jacmet at uclibc.org
2008-08-23 13:08 jacmet at uclibc.org
2008-06-30 13:16 jacmet at uclibc.org
2008-06-20 21:45 jacmet at uclibc.org
2008-03-06 18:16 ninevoltz at uclibc.org
2008-03-07  0:09 ` Ulf Samuelsson
2007-09-23 14:23 ulf at uclibc.org
2007-08-19 20:59 ulf at uclibc.org
2007-08-07 17:28 ulf at uclibc.org
2007-07-24 14:12 ulf at uclibc.org
2007-07-17 15:17 ulf at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080828105639.73E743C7AB@busybox.net \
    --to=laird@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox