diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-05-04 13:31:31 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-05-04 13:31:31 +0000 |
commit | ac58de3a874bae8bc2d63c2859cd9330004c189c (patch) | |
tree | 8a2fb2665fd3d1e564761432115b0b58791dccb8 | |
parent | Migrate to virtual/pkgconfig. (diff) | |
download | historical-ac58de3a874bae8bc2d63c2859cd9330004c189c.tar.gz historical-ac58de3a874bae8bc2d63c2859cd9330004c189c.tar.bz2 historical-ac58de3a874bae8bc2d63c2859cd9330004c189c.zip |
drop support for freebsd5 and honour profile useflag for fbsd 8 and later
-rw-r--r-- | eclass/freebsd.eclass | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass index 0df22ab0acae..f8ab6bdbd812 100644 --- a/eclass/freebsd.eclass +++ b/eclass/freebsd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.18 2011/12/27 17:55:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.19 2012/05/04 13:31:31 aballier Exp $ # # Diego Pettenò <flameeyes@gentoo.org> @@ -97,11 +97,7 @@ freebsd_src_unpack() { freebsd_src_compile() { use profile && filter-flags "-fomit-frame-pointer" - use profile || \ - case "${RV}" in - 5.*) mymakeopts="${mymakeopts} NOPROFILE= " ;; - 6.*|7.*) mymakeopts="${mymakeopts} NO_PROFILE= " ;; - esac + use profile || mymakeopts="${mymakeopts} NO_PROFILE= " mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS=" @@ -115,11 +111,7 @@ freebsd_src_compile() { } freebsd_src_install() { - use profile || \ - case "${RV}" in - 5.*) mymakeopts="${mymakeopts} NOPROFILE= " ;; - 6.*|7.*) mymakeopts="${mymakeopts} NO_PROFILE= " ;; - esac + use profile || mymakeopts="${mymakeopts} NO_PROFILE= " mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS=" |