summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-05-12 04:01:41 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-12 19:40:52 (GMT)
commit6b7b2b617cc03159fca36f1bb01250fc430e086a (patch)
treeeb76af143e8a7bb6b1003cd61120cdf6c923e1e5
parent87c6b15c7d354ab52cb1f7b785b233293800eca1 (diff)
downloadbuildroot-6b7b2b617cc03159fca36f1bb01250fc430e086a.tar.gz
buildroot-6b7b2b617cc03159fca36f1bb01250fc430e086a.tar.bz2
gawk: bump to version 4.1.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gawk/Config.in2
-rw-r--r--package/gawk/gawk-01-no-versioned.patch (renamed from package/gawk/gawk-no-versioned.patch)0
-rw-r--r--package/gawk/gawk.mk20
3 files changed, 12 insertions, 10 deletions
diff --git a/package/gawk/Config.in b/package/gawk/Config.in
index 82c970f..6889777 100644
--- a/package/gawk/Config.in
+++ b/package/gawk/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_GAWK
bool "gawk"
depends on BR2_USE_WCHAR
+ depends on BR2_USE_MMU # fork()
+ depends on !BR2_PREFER_STATIC_LIB
help
A special-purpose programming language which is data driven
rather than procedural. Allows for simple data-reformatting jobs
diff --git a/package/gawk/gawk-no-versioned.patch b/package/gawk/gawk-01-no-versioned.patch
index ff28581..ff28581 100644
--- a/package/gawk/gawk-no-versioned.patch
+++ b/package/gawk/gawk-01-no-versioned.patch
diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index 366dea7..b26430e 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -4,10 +4,10 @@
#
#############################################################
-GAWK_VERSION = 4.0.1
+GAWK_VERSION = 4.1.0
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
-GAWK_TARGET_BINS = awk gawk igawk pgawk
-GAWK_LICENSE = GPLv3
+GAWK_DEPENDENCIES = host-gawk $(if $(BR2_PACKAGE_MPFR),mpfr)
+GAWK_LICENSE = GPLv3+
GAWK_LICENSE_FILES = COPYING
# Prefer full-blown gawk over busybox awk
@@ -15,7 +15,7 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
GAWK_DEPENDENCIES += busybox
endif
-# we don't have a host-busybox
+# We don't have a host-busybox
HOST_GAWK_DEPENDENCIES =
define GAWK_CREATE_SYMLINK
@@ -24,13 +24,13 @@ endef
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK
-define GAWK_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(GAWK_TARGET_BINS))
- rm -f $(TARGET_DIR)/usr/share/info/gawk*.info
- rm -f $(TARGET_DIR)/usr/share/man/man*/*gawk.1
- rm -rf $(TARGET_DIR)/usr/libexec/awk
- rm -rf $(TARGET_DIR)/usr/share/awk
+# Assume we support shared libs
+# The check isn't cross-compile friendly and it's mandatory anyway
+define GAWK_DISABLE_SHARED_CHECK
+ $(SED) 's/ check-for-shared-lib-support//' $(@D)/extension/Makefile.in
endef
+GAWK_POST_PATCH_HOOKS += GAWK_DISABLE_SHARED_CHECK
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))