summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko van der Vossen2022-11-25 23:58:32 +0000
committerRemko van der Vossen2022-11-25 23:58:32 +0000
commit072e755380f610eb77c7718602877bba61d91899 (patch)
treedbf84605bed31adc736c4749f7863393b82df063
parentbd942b699242554d1a3936e7260123293d00eda8 (diff)
gawk: most dependencies optional
-rwxr-xr-xeditors/gawk/DEPENDS28
-rw-r--r--editors/gawk/HISTORY3
2 files changed, 24 insertions, 7 deletions
diff --git a/editors/gawk/DEPENDS b/editors/gawk/DEPENDS
index c73e2e565f..b50340faa2 100755
--- a/editors/gawk/DEPENDS
+++ b/editors/gawk/DEPENDS
@@ -1,10 +1,24 @@
-depends gmp &&
-depends mpfr &&
-depends readline &&
depends smgl-fhs &&
-optional_depends libsigsegv '' '' 'for page fault handling support' &&
optional_depends GETTEXT \
- "--enable-nls" \
- "--disable-nls" \
- "for Native Language Support"
+ '--enable-nls' \
+ '--disable-nls' \
+ 'for Native Language Support' &&
+
+optional_depends libsigsegv \
+ '' \
+ '' \
+ 'for page fault handling support' &&
+
+optional_depends mpfr \
+ '--enable-mpfr' \
+ '--disable-mpfr' \
+ 'for multiple precision floating point support' &&
+if is_depends_enabled $SPELL mpfr; then
+ depends gmp
+fi &&
+
+optional_depends readline \
+ '--with-readline' \
+ '--without-readline' \
+ 'for readline support'
diff --git a/editors/gawk/HISTORY b/editors/gawk/HISTORY
index 800a5f8f35..e08a86f28b 100644
--- a/editors/gawk/HISTORY
+++ b/editors/gawk/HISTORY
@@ -1,3 +1,6 @@
+2022-11-24 Remko van der Vossen <wich@sourcemage.org>
+ * DEPENDS: most dependencies optional
+
2022-11-23 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 5.2.1
* patches/* PRE_BUILD: deleted