--- /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.33.ebuild 2003-09-15 19:46:24.000000000 +0200 +++ /usr/local/portage/sys-fs/e2fsprogs/e2fsprogs-1.33.ebuild 2003-09-20 04:40:38.000000000 +0200 @@ -11,7 +11,7 @@ KEYWORDS="x86 amd64 hppa ~ppc" SLOT="0" LICENSE="GPL-2" -IUSE="nls" +IUSE="nls static" #debianutils is for 'readlink' DEPEND="${DEPEND} @@ -28,11 +28,10 @@ } src_compile() { - econf \ - --enable-dynamic-e2fsck \ - --enable-elf-shlibs \ - `use_enable nls` \ - || die + myconf="`use_enable nls`" + use static || myconf="${myconf} --enable-dynamic-e2fsck --enable-elf-shlibs" + use static && myconf="${myconf} --with-ldopts=-static" + econf ${myconf} || die # Parallel make sometimes fails MAKEOPTS="-j1" emake || die