summaryrefslogtreecommitdiffstats
path: root/make/less.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-08 19:24:54 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-08 19:24:54 +0000
commitaccbb13b399691e7b83b592b67194d58ed4acdc6 (patch)
tree50943ab7fb9b235a61cea50a0ac65d0f9f475a3c /make/less.mk
parent4a2c413273ff04b9ffcbfc575ec7d0e132afe41b (diff)
downloadbuildroot-novena-accbb13b399691e7b83b592b67194d58ed4acdc6.tar.gz
buildroot-novena-accbb13b399691e7b83b592b67194d58ed4acdc6.zip
new version of less and make sure the build uses $TARGET_CFLAGS
Diffstat (limited to 'make/less.mk')
-rw-r--r--make/less.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/make/less.mk b/make/less.mk
index af0ed4a3d..76e5a0613 100644
--- a/make/less.mk
+++ b/make/less.mk
@@ -3,11 +3,12 @@
# less
#
#############################################################
-LESS_SOURCE=less-381.tar.gz
-LESS_SITE=http://www.greenwoodsoftware.com/less
-LESS_DIR=$(BUILD_DIR)/less-381
-LESS_BINARY=less
-LESS_TARGET_BINARY=usr/bin/less
+LESS_VERSION:=382
+LESS_SOURCE:=less-$(LESS_VERSION).tar.gz
+LESS_SITE:=http://www.greenwoodsoftware.com/less
+LESS_DIR:=$(BUILD_DIR)/less-$(LESS_VERSION)
+LESS_BINARY:=less
+LESS_TARGET_BINARY:=usr/bin/less
$(DL_DIR)/$(LESS_SOURCE):
$(WGET) -P $(DL_DIR) $(LESS_SITE)/$(LESS_SOURCE)
@@ -19,6 +20,7 @@ $(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE)
$(LESS_DIR)/.configured: $(LESS_DIR)/.source
(cd $(LESS_DIR); \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \