When trying to compile the source package with the Git repository overlapped I get a compile error from the dh helper scripts. When I remove the Makefile the error is gone and the deb package builds correctly. If I execute the makefile directly it works fine too, but I don't get the deb file from it.
Would be nice if someone could have a look at it.
I'm using apt-src build libapache2-mod-upload-progress for invokation. To prepare:
Anyone some idea on how to make the Makefile compatible with dpkgbuildpackage?
Further digging showed that the $(CFLAGS) provvided in the Makefile aren't accepted by apxs2 when called from dh_auto_install. Unfortutnally trying to provide proper CFLAGS through -Wc, and -Wl,LIBDIR caused the resulting .deb file to break Apache.
The error message from apxs2 is "Unknown option -O" and the same repeated for "-2". -g (generate debug symbols) is misinterpreted as "generate template" as apxs2 supports -g itself.