debian: don't use override_dh_* for lenny compatibility
This commit is contained in:
parent
5c55c4901d
commit
ba43969832
|
@ -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
|
||||
|
|
|
@ -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 $@
|
||||
|
|
Loading…
Reference in New Issue