I requested an opinion on debian-devel and found that it is an old
problem that the fix was reverted some time in the past.  The new fix
is the following:

diff -Nru amanda-3.5.1/debian/rules amanda-3.5.1/debian/rules
--- amanda-3.5.1/debian/rules   2020-08-02 21:57:24.000000000 +0100
+++ amanda-3.5.1/debian/rules   2021-06-22 13:10:01.000000000 +0100
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 # Copyright 1998-2011 by Bdale Garbee.  License GPL v2
-#           2016-2017 by Jose M Calhariz. License GPL v2
+#           2016-2021 by Jose M Calhariz. License GPL v2
 
 export DH_VERBOSE=1
 
@@ -41,7 +41,12 @@
        dh $@ --with autoreconf --parallel
 
 override_dh_auto_configure:
-       LIBS="-lssl" dh_auto_configure -- $(confflags)
+       # MAILER: Fix for #296022, #475771 and #990080
+       MAILER="/usr/bin/mail" LIBS="-lssl" dh_auto_configure -- $(confflags)
+
+override_dh_auto_build:
+       # MAILER: Fix for #296022, #475771 and #990080
+       MAILER="/usr/bin/mail" dh_auto_build
 
 override_dh_install:
        sed -i "/dependency_libs/ s/'.*'/''/" `find debian/tmp -name '*.la'`



I will try to unblock so it can enter bullseye.


Links

https://lists.debian.org/debian-devel/2021/06/msg00215.html



Kind regards
Jose M Calhariz

-- 
--

As pessoas mudam através do que alcançam

--Wystan Hugh Auden

Attachment: signature.asc
Description: PGP signature

Reply via email to