SwordArMor-gentoo-overlay/net-analyzer/net-snmp/files/net-snmp-5.8.1-pkg-config.patch
Alarig Le Lay 4d62ffcc8e
net-analyzer/net-snmp: New package
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2020-09-22 12:54:44 +02:00

21 lines
744 B
Diff

--- a/netsnmp-agent.pc.in
+++ b/netsnmp-agent.pc.in
@@ -8,5 +8,5 @@
URL: http://www.net-snmp.org
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
-Libs: -L${libdir} -lnetsnmpmibs -lnetsnmpagent -lnetsnmp
-Libs.private: @LDFLAGS@ @LMIBLIBS@ @LAGENTLIBS@ @PERLLDOPTS_FOR_APPS@ @LNETSNMPLIBS@ @LIBS@
+Libs: -lnetsnmpmibs -lnetsnmpagent -lnetsnmp
+Libs.private: @LMIBLIBS@ @LAGENTLIBS@ @PERLLDOPTS_FOR_APPS@ @LNETSNMPLIBS@ @LIBS@
--- a/netsnmp.pc.in
+++ b/netsnmp.pc.in
@@ -8,5 +8,5 @@
URL: http://www.net-snmp.org
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
-Libs: -L${libdir} -lnetsnmp
-Libs.private: @LDFLAGS@ @LNETSNMPLIBS@ @LIBS@ @PERLLDOPTS_FOR_APPS@
+Libs: -lnetsnmp
+Libs.private: @LNETSNMPLIBS@ @LIBS@ @PERLLDOPTS_FOR_APPS@