Control: tags -1 + patch

Hi Maintainer

The patch as applied is not sufficient, as can be seen in a recent
arm64 build log [1].
If the old Makefile exists, the build fails during the dh_auto_clean target:

dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use)
make -j1 distclean
make[1]: Entering directory '/«PKGBUILDDIR»'
Makefile:196: *** The Makefile doesn't support target aarch64-linux,
please run fpcmake first.  Stop.

The following patch removes Makefile before dh_auto_clean, and the
build succeeds on arm64.

-- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@
 export FPCDIR=/usr/lib/fpc/${FPCVER}
 endif

+override_dh_auto_clean:
+    rm -f Makefile
+    dh_auto_clean
+
 override_dh_auto_configure:
     fpcmake

Regards
Graham


[1] 
https://buildd.debian.org/status/fetch.php?pkg=transgui&arch=arm64&ver=5.0.1-4.1&stamp=1487280220&raw=0

Reply via email to