diff options
Diffstat (limited to 'app-admin/setools/setools-3.3.6.ebuild')
-rw-r--r-- | app-admin/setools/setools-3.3.6.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app-admin/setools/setools-3.3.6.ebuild b/app-admin/setools/setools-3.3.6.ebuild index ddef9a2d7632..8256e2e9bda3 100644 --- a/app-admin/setools/setools-3.3.6.ebuild +++ b/app-admin/setools/setools-3.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.6.ebuild,v 1.1 2009/08/08 00:31:11 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.6.ebuild,v 1.2 2009/09/20 22:35:02 pebenito Exp $ inherit java-pkg-opt-2 autotools @@ -50,8 +50,7 @@ RDEPEND=">=sys-libs/libsepol-2.0.37 src_unpack() { unpack ${A} - # fix libqpol include Makefile - sed -i -r -e '/polcap_query\.h/s/$/ \\/' "${S}/libqpol/include/qpol/Makefile.am" + epatch "${FILESDIR}/setools-3.3.6-headers.diff" eautomake } @@ -66,6 +65,10 @@ src_compile() { $(use_enable X gui) \ $(use_enable debug) + # work around swig c99 issues. it does not require + # c99 anyway. + sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile" + emake || die } |