aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-08-25 13:54:58 +0200
committerHarald Welte <laforge@gnumonks.org>2010-08-25 13:54:58 +0200
commitba43969832ed326eadd0fbfa85b206cf1c71eb57 (patch)
tree83428984c450b0ee733f4071bed7efe429546534 /openbsc
parent5c55c4901d93a500871f72fe9578a84db7bdd2fa (diff)
debian: don't use override_dh_* for lenny compatibility
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/debian/control2
-rwxr-xr-xopenbsc/debian/rules10
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 <laforge@gnumonks.org>
-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 $@