Control: tag -1 + patch

On Tue, 03 Apr 2018 12:09:16 +0000, Craig Small wrote:

> 1) Add --no-parallel to the dh line: This slows everything down
> 2) Fudge the debian/rules like the python module and run the perl creation
> stuff after the library is built
> 3) Patch the upstream Makefile so it only builds perl modules after the
> library is built.
> 
> I know #1 works.
> #2 is my second option.
> I'd like to do #3 but it comes down to working out the multitude of
> Makefiles net-snmp has; most likely one word on the perlmodules line will
> do it.

The attached patch seems to work (the warnings are gone, and the
resulting libsnmp-perl package has a dependency on libsnmp30 again).

Maybe "snmplib" would be enough instead of "standardall", maybe the
"perlmodules" line would work as well instead of the "perlmakefiles"
target (but that probably still leaves the warnings) -- but the patch
seems to work and, as I understand it, makes sure that all perl stuff
happens only after the C libraries themselves are built.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Dido: Hunter
--- a/Makefile.in
+++ b/Makefile.in
@@ -176,7 +176,7 @@
            exit 1 ; \
         fi
 
-perlmakefiles: net-snmp-config-x
+perlmakefiles: standardall net-snmp-config-x
 	@if test ! -f perl/Makefile; then \
 	  (dir=`pwd`; \
 	   cd perl ; \

Attachment: signature.asc
Description: Digital Signature

Reply via email to