From 599c35d9e78287ceb725224e4db3476981b2a958 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 28 Dec 2014 01:13:08 -0600 Subject: Fix libr packaging FTBFS (cherry picked from commit 6458202b73234c873fdfbeccee1d4e5eb46ef664) --- debian/lenny/dependencies/libr/debian/rules | 11 +++++++---- debian/squeeze/dependencies/libr/debian/rules | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'debian') diff --git a/debian/lenny/dependencies/libr/debian/rules b/debian/lenny/dependencies/libr/debian/rules index 7314f03f2..53fe01cf9 100755 --- a/debian/lenny/dependencies/libr/debian/rules +++ b/debian/lenny/dependencies/libr/debian/rules @@ -32,6 +32,13 @@ major=2 #major=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` +configure: + cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in + cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh + cp -Rp /usr/share/libtool/libltdl/aclocal.m4 aclocal.m4 + autoconf + automake + config.status: configure dh_testdir # Add here commands to configure the package. @@ -41,10 +48,6 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in - cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh - autoconf - automake ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" diff --git a/debian/squeeze/dependencies/libr/debian/rules b/debian/squeeze/dependencies/libr/debian/rules index 7314f03f2..53fe01cf9 100755 --- a/debian/squeeze/dependencies/libr/debian/rules +++ b/debian/squeeze/dependencies/libr/debian/rules @@ -32,6 +32,13 @@ major=2 #major=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` +configure: + cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in + cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh + cp -Rp /usr/share/libtool/libltdl/aclocal.m4 aclocal.m4 + autoconf + automake + config.status: configure dh_testdir # Add here commands to configure the package. @@ -41,10 +48,6 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in - cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh - autoconf - automake ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" -- cgit v1.2.1