projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d786158
)
net-dialup/ppp: clean up pkg-config usage for glib & openssl
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 19 Jun 2018 00:29:09 +0000
(20:29 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 19 Jun 2018 01:23:59 +0000
(21:23 -0400)
net-dialup/ppp/ppp-2.4.7-r6.ebuild
patch
|
blob
|
history
diff --git
a/net-dialup/ppp/ppp-2.4.7-r6.ebuild
b/net-dialup/ppp/ppp-2.4.7-r6.ebuild
index 5e0743255bf34c6dcb4be01ebdb10a02ac944993..ed2dfd4c8c2ee75e646191e44a0e6d97a8faf72d 100644
(file)
--- a/
net-dialup/ppp/ppp-2.4.7-r6.ebuild
+++ b/
net-dialup/ppp/ppp-2.4.7-r6.ebuild
@@
-86,11
+86,19
@@
src_prepare() {
sed -i -e '/+= radius/s:^:#:' pppd/plugins/Makefile.linux || die
fi
+ # Respect our pkg-config settings.
+ sed -i \
+ -e 's:pkg-config:$(PKG_CONFIG):' \
+ contrib/pppgetpass/Makefile.linux || die
+ sed -i \
+ -e '/^LIBS/{s:-L/usr/local/ssl/lib::;s:-lcrypto:`$(PKG_CONFIG) --libs libcrypto`:}' \
+ pppd/Makefile.linux || die
+
eapply_user #549588
}
src_compile() {
- tc-export AR CC
+ tc-export AR CC
PKG_CONFIG
emake COPTS="${CFLAGS} -D_GNU_SOURCE"
# build pppgetpass