dev-python/python-virtkey: Use append-cflags
authorJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:52:58 +0000 (18:52 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:53:47 +0000 (18:53 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/python-virtkey/python-virtkey-0.60.0-r1.ebuild

index a347e5a2a828e1682a8c58cc6e4b09a4b72ec230..0c05f7d9abbf9b15220015cf06be37b0375d0c9a 100644 (file)
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_SINGLE_IMPL=1
 
-inherit distutils-r1 versionator
+inherit distutils-r1 flag-o-matic versionator
 
 DESCRIPTION="Python module to simulate keypresses and get current keyboard layout"
 HOMEPAGE="https://launchpad.net/virtkey"
@@ -25,8 +25,8 @@ RDEPEND="
        x11-libs/gtk+:2"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
-CFLAGS="${CFLAGS} -fno-strict-aliasing"
 
 pkg_setup() {
+       append-cflags -fno-strict-aliasing
        python-single-r1_pkg_setup
 }