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/ncurses | |
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/ncurses')
-rw-r--r-- | package/ncurses/ncurses.mk | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 2cfd332c1..aa2b6bc04 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -11,6 +11,7 @@ NCURSES_INSTALL_STAGING = YES NCURSES_DEPENDENCIES = host-ncurses NCURSES_LICENSE = MIT with advertising clause NCURSES_LICENSE_FILES = README +NCURSES_CONFIG_SCRIPTS = ncurses5-config NCURSES_CONF_OPT = \ $(if $(BR2_PREFER_STATIC_LIB),--without-shared,--with-shared) \ @@ -37,13 +38,6 @@ define NCURSES_BUILD_CMDS $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) endef -define NCURSES_PATCH_NCURSES_CONFIG - $(SED) 's^prefix="^prefix="$(STAGING_DIR)^' \ - $(STAGING_DIR)/usr/bin/ncurses5-config -endef - -NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_PATCH_NCURSES_CONFIG - ifeq ($(BR2_HAVE_DEVFILES),y) define NCURSES_INSTALL_TARGET_DEVFILES mkdir -p $(TARGET_DIR)/usr/include |