summaryrefslogtreecommitdiffstats
path: root/net-dialup/ppp/ppp-2.4.7-r1.ebuild
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-05-20 09:53:22 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2015-05-20 09:53:22 +0200
commit49299de898af3375c31ec756d90012da069e0159 (patch)
tree4b951abeb230bcba2db471192508fe021a87d9e7 /net-dialup/ppp/ppp-2.4.7-r1.ebuild
parent37c3dee21a130b4ba0b2b94cc4fd6b87eaedfe18 (diff)
downloadgentoo-overlay-49299de898af3375c31ec756d90012da069e0159.tar.gz
gentoo-overlay-49299de898af3375c31ec756d90012da069e0159.tar.bz2
gentoo-overlay-49299de898af3375c31ec756d90012da069e0159.tar.xz
gentoo-overlay-49299de898af3375c31ec756d90012da069e0159.zip
Conditionally patch ppp on musl. This is bad. PPP (lack of) build system is bad.
Diffstat (limited to 'net-dialup/ppp/ppp-2.4.7-r1.ebuild')
-rw-r--r--net-dialup/ppp/ppp-2.4.7-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-dialup/ppp/ppp-2.4.7-r1.ebuild b/net-dialup/ppp/ppp-2.4.7-r1.ebuild
index dd596dd..c31afd1 100644
--- a/net-dialup/ppp/ppp-2.4.7-r1.ebuild
+++ b/net-dialup/ppp/ppp-2.4.7-r1.ebuild
@@ -81,6 +81,11 @@ src_prepare() {
einfo "Disabling radius"
sed -i -e '/+= radius/s:^:#:' pppd/plugins/Makefile.linux || die
fi
+
+ if use elibc_musl ; then
+ einfo "Conditionally patching for musl"
+ epatch "${FILESDIR}"/musl.patch
+ fi
}
src_compile() {