diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2004-11-15 17:59:00 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2004-11-15 17:59:00 +0000 |
commit | c9ca53ebbf2e67608141e56e437e967a9ef6cd48 (patch) | |
tree | 606f6f280a5126deeb10fada1ec64cc442254bcd /sys-libs/libsepol/libsepol-1.2.ebuild | |
parent | Initial commit (Manifest recommit) (diff) | |
download | gentoo-2-c9ca53ebbf2e67608141e56e437e967a9ef6cd48.tar.gz gentoo-2-c9ca53ebbf2e67608141e56e437e967a9ef6cd48.tar.bz2 gentoo-2-c9ca53ebbf2e67608141e56e437e967a9ef6cd48.zip |
fix non mls compile
Diffstat (limited to 'sys-libs/libsepol/libsepol-1.2.ebuild')
-rw-r--r-- | sys-libs/libsepol/libsepol-1.2.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-libs/libsepol/libsepol-1.2.ebuild b/sys-libs/libsepol/libsepol-1.2.ebuild index 7fffababeadb..06dce9ae4421 100644 --- a/sys-libs/libsepol/libsepol-1.2.ebuild +++ b/sys-libs/libsepol/libsepol-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.2.ebuild,v 1.1 2004/11/14 18:58:44 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.2.ebuild,v 1.2 2004/11/15 17:59:00 pebenito Exp $ IUSE="mls" @@ -18,8 +18,10 @@ src_unpack() { cd ${S} - use mls && sed -i -e '/^MLS/s/n/y/' src/Makefile \ - || die "MLS option failed." + if use mls; then + sed -i -e '/^MLS/s/n/y/' src/Makefile \ + || die "MLS option failed." + fi sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" src/Makefile \ || die "src Makefile CFLAGS fix failed." |