diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-05-21 13:48:55 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-05-21 13:49:26 +0200 |
commit | b53e02875a4c129ad7d6ebd114b186393726f002 (patch) | |
tree | a80fc0e13efb1ab5d3f6e23a92c45dfb9c37dfbe /dev-ruby/sigar | |
parent | sys-apps/policycoreutils: supports musl now, drop dep on glibc (diff) | |
download | gentoo-b53e02875a4c129ad7d6ebd114b186393726f002.tar.gz gentoo-b53e02875a4c129ad7d6ebd114b186393726f002.tar.bz2 gentoo-b53e02875a4c129ad7d6ebd114b186393726f002.zip |
dev-ruby/sigar: properly set tirpc include directory
Fixes building with libtirpc on a glibc 2.26+ system.
Closes: https://bugs.gentoo.org/639956
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/sigar')
-rw-r--r-- | dev-ruby/sigar/sigar-0.7.3.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild index 7045ab9949cb..8835b4eb331d 100644 --- a/dev-ruby/sigar/sigar-0.7.3.ebuild +++ b/dev-ruby/sigar/sigar-0.7.3.ebuild @@ -21,7 +21,7 @@ IUSE="" DEPEND+=" || ( <sys-libs/glibc-2.26 net-libs/libtirpc )" all_ruby_prepare() { - sed -i -e '25i$CFLAGS += " -std=gnu89"' \ + sed -i -e '25i$CFLAGS += " -std=gnu89 -I/usr/include/tirpc"' \ -e '25i$LDFLAGS += " -ltirpc"' bindings/ruby/extconf.rb || die # Fix compatibility with glibc 2.25 |