summaryrefslogtreecommitdiff
path: root/squeeze/_reverts_r-base.sh
diff options
context:
space:
mode:
Diffstat (limited to 'squeeze/_reverts_r-base.sh')
-rw-r--r--squeeze/_reverts_r-base.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/squeeze/_reverts_r-base.sh b/squeeze/_reverts_r-base.sh
new file mode 100644
index 0000000..878b5ec
--- /dev/null
+++ b/squeeze/_reverts_r-base.sh
@@ -0,0 +1,13 @@
+ # 1. Starting with Debian packages for R 2.15.3 there is a build
+ # dependency on 'libtiff5-dev' which is not in squeeze. Changing to
+ # libtiff-dev, which is libtiff4-dev on squeeze.
+
+ sed -i '/^Build-Depends/s/libtiff5-dev/libtiff-dev/' debian/control
+ dch -a "debian/control: Change Build-Depends: from libtiff5-dev to libtiff-dev"
+
+ # 2. Lower build dependencies for tcl 8.6 and tk 8.6
+ # which are not available in squeeze
+ sed -i '/^Build-Depends/s/tcl8.6-dev/tcl8.5-dev/' debian/control
+ sed -i '/^Build-Depends/s/tk8.6-dev/tk8.5-dev/' debian/control
+ dch -a "debian/control: Change Build-Depends: from tcl8.6-dev to tcl8.5-dev"
+ dch -a "debian/control: Change Build-Depends: from tk8.6-dev to tk8.5-dev"

Contact - Imprint