From a83ddf8f5cda6271795f9b29470145192fb82eb5 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Thu, 21 Mar 2002 08:33:23 +0000 Subject: 0.3.3-1 packaging update for -2: control: s/0.3.2/0.3.3/ for -runtime version dep Original commit message from CVS: 0.3.3-1 packaging update for -2: control: s/0.3.2/0.3.3/ for -runtime version dep --- debian/rules | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index dfcdd65c..f01304a5 100644 --- a/debian/rules +++ b/debian/rules @@ -31,18 +31,27 @@ setup-links: export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + configure: configure-stamp configure-stamp: dh_testdir + + # make sure we're using a ltmain.sh that can handle relinking + # in case autogen.sh (and libtoolize) was run + cp ltmain-fixed.sh ltmain.sh + # Add here commands to configure the package. ./configure \ - --build=$(DEB_BUILD_GNU_TYPE) \ - --host=$(DEB_HOST_GNU_TYPE) \ + $(confflags) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --sysconfdir=/etc \ - --with-configdir=/etc/gstreamer \ --disable-plugin-builddir \ --disable-tests \ --disable-examples \ -- cgit v1.2.1