debian: Build package without auto_build
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e6fb603bf9
commit
e54997251b
2 changed files with 5 additions and 3 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -2,7 +2,7 @@ Source: ifupdown-ng
|
|||
Section: unknown
|
||||
Priority: optional
|
||||
Maintainer: unknown <lagertonne@unknown>
|
||||
Build-Depends: debhelper-compat (= 13), libbsd0, libbsd-dev
|
||||
Build-Depends: debhelper-compat (= 13), libbsd0, libbsd-dev, pkg-config
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://github.com/ifupdown-ng/ifupdown-ng
|
||||
#Vcs-Browser: https://salsa.debian.org/debian/ifupdown-ng
|
||||
|
|
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -15,10 +15,12 @@
|
|||
|
||||
|
||||
%:
|
||||
export LIBBSD_CFLAGS="$(pkg-config --cflags libbsd-overlay)"
|
||||
export LIBBSD_LIBS="$(pkg-config --cflags --libs libbsd-overlay)"
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
make \
|
||||
LIBBSD_CFLAGS="-isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd " \
|
||||
LIBBSD_LIBS="-isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd "
|
||||
|
||||
# dh_make generated override targets
|
||||
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
||||
|
|
Loading…
Reference in a new issue