[hdf4] 02/04: Use libtoolize and autoreconf (closes: #639720)
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Wed Sep 3 21:21:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository hdf4.
commit bec88f7a21f6a3fe6ae97d35bdae8fce40d2df61
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Wed Sep 3 22:35:20 2014 +0200
Use libtoolize and autoreconf (closes: #639720)
---
debian/control | 5 ++++-
debian/rules | 6 ++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 3c6a7f4..5e0ec03 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,10 @@ Build-Depends: debhelper (>= 7),
quilt,
chrpath,
gfortran,
- rsync
+ rsync,
+ libtool,
+ autoconf,
+ automake
Standards-Version: 3.8.3
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/hdf4.git
Vcs-Git: git://anonscm.debian.org/pkg-grass/hdf4.git
diff --git a/debian/rules b/debian/rules
index a3f4663..67d94d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,14 +78,16 @@ stamps/configure-stamp: patch
rm -f HDF4 && ln -sf HDF$(RELEASE) HDF4
# build the 'regular' netcdf-clashing flavor.
cd HDF4 \
- && cp /usr/share/misc/config.sub bin/. && cp /usr/share/misc/config.guess bin/. \
+ && libtoolize \
+ && autoreconf -i \
&& F77="$(F77)" CC="$(CC)" CXX="$(CXX)" ./configure --prefix=/usr --includedir=/usr/include/hdf \
--enable-shared --enable-fortran
# ./hdf/fmpool/config.sub
#
# build a netcdf compatible flavor, without fortran functions.
cd HDF4_ALT \
- && cp /usr/share/misc/config.sub bin/. && cp /usr/share/misc/config.guess bin/. \
+ && libtoolize \
+ && autoreconf -i \
&& CC="$(CC)" CXX="$(CXX)" ./configure --prefix=/usr --includedir=/usr/include/hdf --disable-netcdf \
--enable-shared --disable-fortran
touch $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf4.git
More information about the Pkg-grass-devel
mailing list