aboutsummaryrefslogtreecommitdiffstats
path: root/main/rt4/rt-autoconf-version.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-05-06 19:04:01 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-05-06 19:04:01 +0300
commitfb1b49eb57d8a1c565f1c0854680f44ac65f7157 (patch)
tree012a043936cdd8345ede78f4e15fd4997ed13c15 /main/rt4/rt-autoconf-version.patch
parent4898593dd7fdb5dec3f0ccdbec5e7347b2146c48 (diff)
downloadaports-fb1b49eb57d8a1c565f1c0854680f44ac65f7157.tar.bz2
aports-fb1b49eb57d8a1c565f1c0854680f44ac65f7157.tar.xz
main/rt4: fix displayed RT version
fix the autoconf script to work inside aports.git. it would incorrectly try to use the aports tag, instead of the dist file shipped .tag
Diffstat (limited to 'main/rt4/rt-autoconf-version.patch')
-rw-r--r--main/rt4/rt-autoconf-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/rt4/rt-autoconf-version.patch b/main/rt4/rt-autoconf-version.patch
new file mode 100644
index 0000000000..dbf1441a94
--- /dev/null
+++ b/main/rt4/rt-autoconf-version.patch
@@ -0,0 +1,11 @@
+--- rt-4.2.2/configure.ac.orig 2014-05-06 19:01:59.784199966 -0300
++++ rt-4.2.2/configure.ac 2014-05-06 19:02:21.004085165 -0300
+@@ -7,7 +7,7 @@
+
+ dnl Setup autoconf
+ AC_PREREQ([2.53])
+-AC_INIT(RT, m4_esyscmd([( git describe --tags || cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs@bestpractical.com])
++AC_INIT(RT, m4_esyscmd([( cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs@bestpractical.com])
+ AC_CONFIG_SRCDIR([lib/RT.pm])
+
+ dnl Save our incant early since $@ gets overwritten by some macros.