New commits:
commit bdcd0a477d0245b49fbd4f830372e9184e8239c9
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
gnarwl: added optional patch to allow usage of $time variable that
returns current time in days since 1 Jan 1970
diff --git a/mail/gnarwl/CONFIGURE b/mail/gnarwl/CONFIGURE
new file mode 100755
index 0000000..d238233
--- /dev/null
+++ b/mail/gnarwl/CONFIGURE
@@ -0,0 +1,7 @@
+message "${MESSAGE_COLOR}"
+message "The following option is useful in query filter with vacationStart
and"
+message "vacationEnd attributes. It gives a number of days since Unix Epoch"
+message "(1 January 1970)."
+message "${DEFAULT_COLOR}" &&
+
+config_query GNARWL_TIME "Do you want to patch in support for expansion of
time variable?" n
diff --git a/mail/gnarwl/HISTORY b/mail/gnarwl/HISTORY
index db6860d..19ee57a 100644
--- a/mail/gnarwl/HISTORY
+++ b/mail/gnarwl/HISTORY
@@ -1,2 +1,8 @@
+2014-07-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFIGURE: added, for patch option
+ * PRE_BUILD: apply patch
+ * time.patch: added, to allow usage of $time variable that returns
+ current time in days since 1 Jan 1970
+
2014-02-03 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS, DETAILS, {PRE_,}BUILD, INSTALL, excluded: spell created
diff --git a/mail/gnarwl/PRE_BUILD b/mail/gnarwl/PRE_BUILD
index 9129419..6d9eaf1 100755
--- a/mail/gnarwl/PRE_BUILD
+++ b/mail/gnarwl/PRE_BUILD
@@ -1,6 +1,10 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+if [[ $GNARWL_TIME == y ]]; then
+ patch -p0 < "$SPELL_DIRECTORY/time.patch"
+fi &&
+
# use custom CFLAGS
sedit "s:-g -Wall -O2:$CFLAGS:" Makefile.in &&