--- /usr/portage/app-sci/scilab/scilab-2.7-r3.ebuild 2004-03-22 14:25:16.000000000 +0100 +++ /usr/portage/app-sci/scilab/scilab-2.7-r3.ebuild 2004-03-23 17:22:00.073974152 +0100 @@ -12,7 +12,7 @@ LICENSE="scilab" SLOT="0" KEYWORDS="~x86" -IUSE="tcltk gtk" +IUSE="tcltk gtk atlas" DEPEND="virtual/x11 x11-libs/Xaw3d @@ -23,15 +23,17 @@ >=dev-libs/glib-2.2 media-libs/jpeg media-libs/libpng - sys-libs/zlib )" + sys-libs/zlib ) + atlas? ( dev-libs/atlas )" pkg_setup() { - local SCLB - SCLB=`which scilab` - if [ -e "${SCLB}" ]; then + # The following test is due to a bogus pkg_postrm in scilab-2.7-r0/r1, + # that interferes with upgrades to higher 2.7 versions. + # Remove this warning in 2.8 and later versions. + if has_version "