--- zsh-4.3.4.ebuild 2007-05-01 12:31:00 +0100 +++ zsh-4.3.4.ebuild 2007-08-15 17:05:48 +0100 @@ -40,8 +40,13 @@ src_compile() { local myconf - use static && myconf="${myconf} --disable-dynamic" \ - && LDFLAGS="${LDFLAGS} -static" + if use static ; then + myconf="${myconf} --disable-dynamic" + LDFLAGS="${LDFLAGS} -static" + else + # bug 188930 + use elibc_FreeBSD && export EXTRA_LDFLAGS="-rdynamic" + fi econf \ --bindir=/bin \