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 | |
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')
-rw-r--r-- | sys-libs/libsepol/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/libsepol/libsepol-1.2.ebuild | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog index 183f5fb12e8e..8a13bbafc8a6 100644 --- a/sys-libs/libsepol/ChangeLog +++ b/sys-libs/libsepol/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/libsepol # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.2 2004/11/14 18:58:44 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.3 2004/11/15 17:59:00 pebenito Exp $ + + 15 Nov 2004; Chris PeBenito <pebenito@gentoo.org> libsepol-1.2.ebuild: + Fix non mls compile. *libsepol-1.2 (14 Nov 2004) 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." |