summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory A. Pratt <anarchy@gentoo.org>2017-08-25 07:23:00 -0500
committerJory A. Pratt <anarchy@gentoo.org>2017-08-25 07:23:00 -0500
commitec128191caba6b27ef5ba35780b82d65fdbdb876 (patch)
tree7d0d866748ff9cf5c5c556a9a90aa9d871435b84
parentnet-misc/networkmanager: Sync with version bump in tree (diff)
downloadanarchy-ec128191caba6b27ef5ba35780b82d65fdbdb876.tar.gz
anarchy-ec128191caba6b27ef5ba35780b82d65fdbdb876.tar.bz2
anarchy-ec128191caba6b27ef5ba35780b82d65fdbdb876.zip
net-misc/networkmanager - add cflags for musl support via useflag elibc_musl
-rw-r--r--net-misc/networkmanager/Manifest2
-rw-r--r--net-misc/networkmanager/networkmanager-1.8.2.ebuild8
2 files changed, 6 insertions, 4 deletions
diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest
index e2f9538..5a57c26 100644
--- a/net-misc/networkmanager/Manifest
+++ b/net-misc/networkmanager/Manifest
@@ -4,5 +4,5 @@ AUX 10-openrc-status-r4 1182 SHA256 f8ed424818b866a0bf882c569f4484e8b1485ce7ac8c
AUX conf.d.NetworkManager 230 SHA256 4594573f01fe5e04b6dde4525796acf909158591bdcefd662ec23fe0d1c3e1bd SHA512 f8c9331834cbc66ab0e4e6f4a120fde6a08a435d680a1e1087718fdbb2b9843a313e7ec30b7008822999dafd98e152aa7d2a96f87320ba9c91c3adb63e0b7c9a WHIRLPOOL 7dbb15bf184e918369187605af91816ed11c460147066ede11f200d73103bb6f7f63ccc7abe7996d485294f44282d6bbd9520cc9e50f04ce41262c9817f7b994
AUX init.d.NetworkManager-r1 1822 SHA256 861445d46e8863dca26a91018da3dd9fee6a64467a93e7512774dfd88914539d SHA512 a8356480592ec5e818b390b83cb258248d64850748e9e485bed68befabf067219d02fda137ee63684e0cd2c0e4f5fca30f94f8db71f811149183ff4715159658 WHIRLPOOL f028c78b1afc1cacb835bb61971910bde1ee6596578e5d7a3d88228a449528be0804fdca4b745894c4d8058980f48b93d976a922ce46727a0492680c085fa8cc
DIST NetworkManager-1.8.2.tar.xz 3818844 SHA256 71a5efcd9e4c237ab57b2893ccc8f91f884ace3bec0e2bd4b31a4c9677ff1bf4 SHA512 7bebea66d8f494c052313224e9d5b1b4cf665482f07ee5d93defc3543f32296545a2d1097ab1fff27dbebb58e07a4bc47fbc0101163db92953ae66ac9b95524d WHIRLPOOL 5928c3d4c1a35dc9485c303f3ce7e7b33c3949a058bd566f8b779d5d6dfa11ee8fc365e1a7954a214cabea70f2239b0f6e2079a67616f5487abbd1d6053260a3
-EBUILD networkmanager-1.8.2.ebuild 10717 SHA256 23c65f1e4a9759ecc4cc2e975492aaeade12d4702fe56ee81a0baa1cc030d361 SHA512 a7bdaafbe0ab650ab8ace85f22127a64d026f34f37e1496aa0b83a6f43a48d5c47b17a58d9b9a26aa548414eb708860e0f20b011232d5ff01fca10129316bd79 WHIRLPOOL f08f327f07e9ae0bd850783f300359fb17eb733e6040330044ea2c484ff48d2915d5d0095aebc28d5687e6adb576993c4d2b24c13de1a6a2535ab9c8babdbf59
+EBUILD networkmanager-1.8.2.ebuild 10840 SHA256 f044225597401df61d208349d2ece7d12cc9beef87020b6403d69b7ace3a34ba SHA512 1e0c75dbf2399a21089e91a9a054dd45b9a3ed859688923a67147af9c74bd67a1634252ba1fe2cb0f6e7b3b297beb30a08a3a3797a76ea027deaa3a4af0a6f83 WHIRLPOOL 3066e395c1c3969c8c4d2f1c68ab3e34dce3b216af3fb29ec0e4777c9e53f58198b4cdaf7e6844d5460577895f21c3a41499632419f559e260a62f148ba517af
MISC metadata.xml 1771 SHA256 ee2f0f65eaf3effc914d94105b1b44113cccd50ef09de57d6f37319406ed0a9f SHA512 4a61288c3e91ab8eb040053c706fe147e53fd1e9000b9597dc5b2f0920e08efd0e896f308e32758b4af6371b8fb9737f495355d0a9e2e95a9fd883bd10a8c535 WHIRLPOOL 2c91ccec729d06338d05ec4f3641607b4ac29e1228f9407964426db94c44b21d0fc473413395c9356e486b5c680cdd27a2468bf75ce164923aa874df83e9e1da
diff --git a/net-misc/networkmanager/networkmanager-1.8.2.ebuild b/net-misc/networkmanager/networkmanager-1.8.2.ebuild
index 5df86a3..bc3adeb 100644
--- a/net-misc/networkmanager/networkmanager-1.8.2.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.8.2.ebuild
@@ -8,7 +8,7 @@ GNOME2_EAUTORECONF="yes"
VALA_USE_DEPEND="vapigen"
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit bash-completion-r1 gnome2 linux-info multilib python-any-r1 systemd \
+inherit bash-completion-r1 gnome2 linux-info multilib python-any-r1 systemd flag-o-matic \
user readme.gentoo-r1 toolchain-funcs vala versionator virtualx udev multilib-minimal
DESCRIPTION="A set of co-operative tools that make networking simple and straightforward"
@@ -17,7 +17,8 @@ HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
LICENSE="GPL-2+"
SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version
-IUSE="audit bluetooth connection-sharing consolekit +dhclient dhcpcd elogind gnutls +introspection json kernel_linux +nss +modemmanager ncurses ofono policykit +ppp resolvconf selinux systemd teamd test vala +wext +wifi"
+IUSE="audit bluetooth connection-sharing consolekit +dhclient dhcpcd elibc_musl elogind gnutls +introspection
+ json kernel_linux +nss +modemmanager ncurses ofono policykit +ppp resolvconf selinux systemd teamd test vala +wext +wifi"
REQUIRED_USE="
modemmanager? ( ppp )
@@ -102,7 +103,6 @@ PATCHES=(
"${FILESDIR}"/0001-Support-musl-libc.patch
)
-
python_check_deps() {
if use introspection; then
has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
@@ -159,6 +159,8 @@ src_prepare() {
}
multilib_src_configure() {
+ use elibc_musl && append-cflags -DHAVE_SECURE_GETENV -Dsecure_getenv=getenv -D__USE_POSIX199309
+
local myconf=(
--disable-more-warnings
--disable-static