diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-18 14:22:30 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-18 14:22:30 +0000 |
commit | 4bcbf87c99589433bfc0d39ad4e1b4b28bc8a15d (patch) | |
tree | ed53ad789985a6d077b1d1c3f16c143754367259 /package/lsof/lsof.mk | |
parent | 675b479c2f84b14aad70b1728fa690b2e400d7ea (diff) | |
download | buildroot-novena-4bcbf87c99589433bfc0d39ad4e1b4b28bc8a15d.tar.gz buildroot-novena-4bcbf87c99589433bfc0d39ad4e1b4b28bc8a15d.zip |
lsof, m4: use variables from BR instead of uclibc
UCLIB_HAS_.* is not defined in Buildroot space, so the conditions always
evaluate to the same result. Use appropriate Buildroot variables.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Diffstat (limited to 'package/lsof/lsof.mk')
-rw-r--r-- | package/lsof/lsof.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index 8551a41df..c998d8b06 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -38,11 +38,11 @@ $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked touch $(LSOF_DIR)/.configured $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured -ifeq ($(UCLIBC_HAS_WCHAR),) +ifeq ($(BR2_USE_WCHAR),) $(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h $(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h endif -ifeq ($(UCLIBC_HAS_LOCALE),) +ifeq ($(BR2_ENABLE_LOCALE),) $(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h endif $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src |