make unifdef optional for building Debian package

when cross-building it is not required and the formula <!cross> simply does
not work so use a trick to depend on other package instead. on a side note
the package cannot be installed even tho it is in the main pool of the
architectures I am testing on

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-11-19 15:04:13 +02:00
parent 12eff871eb
commit be8ee73597
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9~), libssl-dev, zlib1g-dev, libzstd-dev,
libfreetype6-dev, libfontconfig1-dev, libpcre3-dev, libdbus-1-dev,
unixodbc-dev, libicu-dev, libsqlite3-dev, cmake, git, xserver-xorg-dev,
libxinerama-dev, libxrandr-dev, libxrender-dev, libxcursor-dev, libsm-dev,
libpq-dev, libmariadbclient-dev, libmariadbd-dev, unifdef
libpq-dev, libmariadbclient-dev, libmariadbd-dev, unifdef | dpkg
Package: katie-runtime
Architecture: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x hurd-i386

View file

@ -42,7 +42,7 @@ export DEBIAN_FRONTEND=noninteractive
dpkg --add-architecture $crossarch
apt-get update
apt-get install git crossbuild-essential-$crossarch qemu-user-static
apt-get install --yes git crossbuild-essential-$crossarch qemu-user-static
git clone --depth=1 git://github.com/fluxer/katie
cd katie