Skip to content

Commit d7af455

Browse files
committed
fixup build dep
1 parent e2dba6d commit d7af455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

debs/debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#override_dh_auto_configure:
2424
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
2525
override_dh_auto_configure:
26+
if [ "$$(lsb_release -rs)" = "24.04" ]; then \
27+
sed -i 's/libtiff5/libtiff6/' debian/control; \
28+
sed -i 's/mime-support/mailcap media-types/' debian/control; \
29+
fi
2630
dh_auto_configure -- \
2731
--prefix=/opt/imagemagick-7 \
2832
--sysconfdir=/opt/imagemagick-7/conf \

0 commit comments

Comments
 (0)