On Mon, Sep 09, 2013 at 02:21:05PM +0200, Julien Cristau wrote:
> On Mon, Sep  9, 2013 at 14:09:17 +0200, Thomas Weber wrote:
> > @@ -89,7 +93,7 @@ build-indep:
> >  build-arch: 
> >     dh_quilt_patch
> >     echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
> > -   cp -fp /usr/share/automake-1.13/config.* 
> > config/BuildSystem/config/packages/
> > +   cp -fp $(AUTOMAKE_LIB_DIR)/config.* config/BuildSystem/config/packages/
> 
> You could just copy them from /usr/share/misc, which doesn't change.

Okay, new patch attached.

        Thomas
>From 9af0f6fe749bcbd18c97f0e0a3407387d8e278f8 Mon Sep 17 00:00:00 2001
From: Thomas Weber <twe...@debian.org>
Date: Mon, 9 Sep 2013 09:38:01 +0200
Subject: [PATCH] Make copying config.guess and config.sub independent of
 automake version

Replace automake by autotools-dev for that.
---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index da5096a..04e9838 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org>
 Uploaders: "Adam C. Powell, IV" <hazel...@debian.org>
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 7.0.50), quilt, python (>= 2.2), gfortran, automake,
+Build-Depends: debhelper (>= 7.0.50), quilt, python (>= 2.2), gfortran, autotools-dev,
  libx11-dev, mpi-default-dev,
  libblas-dev, liblapack-dev,
  libsuitesparse-dev (>= 3.1.0-2),
diff --git a/debian/rules b/debian/rules
index 6046d46..908d150 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,7 @@ build-indep:
 build-arch: 
 	dh_quilt_patch
 	echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR)
-	cp -fp /usr/share/automake-1.13/config.* config/BuildSystem/config/packages/
+	cp -fp /usr/share/misc/config.* config/BuildSystem/config/packages/
 	if [ ! -f TAGS.backup ]; then cp -a TAGS TAGS.backup; fi
 	PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-debug \
 	  ./config/configure.py --with-shared-libraries --with-debugging=1 \
-- 
1.8.4.rc3

Reply via email to