summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 13:31:40 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 13:31:40 -0500
commitae0bb0b862e6ff2daf69023c48ad0300ea4ac829 (patch)
tree1d4e5d8284fb3da4f94a4130783698417f6055f2 /debian
parent464d85d00143914b6ad490694b264b808c90ff47 (diff)
downloadtde-packaging-ae0bb0b862e6ff2daf69023c48ad0300ea4ac829.tar.gz
tde-packaging-ae0bb0b862e6ff2daf69023c48ad0300ea4ac829.zip
Fix k3b-i18n FTBFS on Debian and Ubuntu
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/lenny/applications/k3b-i18n/debian/rules11
-rwxr-xr-xdebian/squeeze/applications/k3b-i18n/debian/rules11
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/lenny/applications/k3b-i18n/debian/rules b/debian/lenny/applications/k3b-i18n/debian/rules
index cbe5c9312..108c07633 100755
--- a/debian/lenny/applications/k3b-i18n/debian/rules
+++ b/debian/lenny/applications/k3b-i18n/debian/rules
@@ -28,6 +28,17 @@ endif
config.status: configure
dh_testdir
+
+ # Regenerate build system
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
# Add here commands to configure the package.
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=$(DEB_CONFIGURE_PREFIX) \
diff --git a/debian/squeeze/applications/k3b-i18n/debian/rules b/debian/squeeze/applications/k3b-i18n/debian/rules
index cbe5c9312..108c07633 100755
--- a/debian/squeeze/applications/k3b-i18n/debian/rules
+++ b/debian/squeeze/applications/k3b-i18n/debian/rules
@@ -28,6 +28,17 @@ endif
config.status: configure
dh_testdir
+
+ # Regenerate build system
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
# Add here commands to configure the package.
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=$(DEB_CONFIGURE_PREFIX) \