From ba43969832ed326eadd0fbfa85b206cf1c71eb57 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 25 Aug 2010 13:54:58 +0200 Subject: [PATCH] debian: don't use override_dh_* for lenny compatibility --- openbsc/debian/control | 2 +- openbsc/debian/rules | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/openbsc/debian/control b/openbsc/debian/control index 5b1c4ed89..c131d92a0 100644 --- a/openbsc/debian/control +++ b/openbsc/debian/control @@ -2,7 +2,7 @@ Source: openbsc Section: net Priority: optional Maintainer: Harald Welte -Build-Depends: debhelper (>= 7.0.50~), autotools-dev, pkg-config, libgtp, libosmocore-dev, libosmo-sccp-dev, libdbi0-dev +Build-Depends: debhelper (>= 7.0.0~), autotools-dev, pkg-config, libgtp, libosmocore-dev, libosmo-sccp-dev, libdbi0-dev Standards-Version: 3.8.4 Homepage: http://openbsc.osmocom.org/ Vcs-Git: git://bs11-abis.gnumonks.org/openbsc.git diff --git a/openbsc/debian/rules b/openbsc/debian/rules index f9aa9cefe..8de0ecc48 100755 --- a/openbsc/debian/rules +++ b/openbsc/debian/rules @@ -16,8 +16,16 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -override_dh_auto_configure: +# this requires debhelper 7.0.50 or above, which lenny doesn't have yet! +#override_dh_auto_configure: +# dh_auto_configure -- --enable-nat --enable-osmo-bsc + +build: build-stamp +build-stamp: + dh build --before configure dh_auto_configure -- --enable-nat --enable-osmo-bsc + dh build --after configure + touch build-stamp %: dh $@