Skip to content

Commit

Permalink
app-admin/syslog-ng: Fix libafsnmp.so linking
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/729806
Signed-off-by: Jeroen Roovers <[email protected]>
Jeroen Roovers committed Jun 27, 2020

Unverified

The email in this signature doesn’t match the committer email.
1 parent 068ded8 commit b561097
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app-admin/syslog-ng/files/syslog-ng-3.28.1-net-snmp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- a/modules/afsnmp/Makefile.am
+++ b/modules/afsnmp/Makefile.am
@@ -24,9 +24,7 @@
-I$(top_builddir)/modules/afsnmp

modules_afsnmp_libafsnmp_la_LIBADD = \
- $(MODULE_DEPS_LIBS)
-
-modules_afsnmp_libafsnmp_la_LDFLAGS = \
+ $(MODULE_DEPS_LIBS) \
$(MODULE_LDFLAGS) \
$(NETSNMP_LIBS)

Original file line number Diff line number Diff line change
@@ -49,6 +49,9 @@ BDEPEND="
DOCS=( AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf.{HP-UX,RedHat,SunOS,doc}
contrib/syslog2ng "${T}/syslog-ng.conf.gentoo.hardened"
"${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" )
PATCHES=(
"${FILESDIR}"/${PN}-3.28.1-net-snmp.patch
)

pkg_setup() {
use python && python-single-r1_pkg_setup

0 comments on commit b561097

Please sign in to comment.