diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-02-07 12:35:05 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-08 22:34:26 +0100 |
commit | a5ce8576748421b6dece97a665e575d7dfc9fbe8 (patch) | |
tree | d872f865298312833109804f95d5355fc919efc7 /package/libxml2 | |
parent | 580225af20b6c692da76eb43b20382a47b3ed170 (diff) | |
download | buildroot-novena-a5ce8576748421b6dece97a665e575d7dfc9fbe8.tar.gz buildroot-novena-a5ce8576748421b6dece97a665e575d7dfc9fbe8.zip |
package: use <pkg>_CONFIG_SCRIPTS wherever possible
Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it
does all what the package was doing. A few packages, like libxslt, are
for now left out, since they need some additional fixup (for example a
fixup of includedir).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libxml2')
-rw-r--r-- | package/libxml2/libxml2.mk | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 923a81336..6a974ef8b 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -10,6 +10,7 @@ LIBXML2_INSTALL_STAGING = YES LIBXML2_AUTORECONF = YES LIBXML2_LICENSE = MIT LIBXML2_LICENSE_FILES = COPYING +LIBXML2_CONFIG_SCRIPTS = xml2-config ifneq ($(BR2_LARGEFILE),y) LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE" @@ -17,13 +18,6 @@ endif LIBXML2_CONF_OPT = --with-gnu-ld --without-python --without-debug -define LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP - $(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 -endef - -LIBXML2_POST_INSTALL_STAGING_HOOKS += LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP - HOST_LIBXML2_DEPENDENCIES = host-pkgconf # mesa3d uses functions that are only available with debug @@ -40,15 +34,6 @@ else HOST_LIBXML2_CONF_OPT += --without-python endif - -define LIBXML2_REMOVE_CONFIG_SCRIPTS - $(RM) -f $(TARGET_DIR)/usr/bin/xml2-config -endef - -ifneq ($(BR2_HAVE_DEVFILES),y) -LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_REMOVE_CONFIG_SCRIPTS -endif - $(eval $(autotools-package)) $(eval $(host-autotools-package)) |