--- wireshark-1.8.2-r2.ebuild 2012-09-19 19:01:22.000000000 +0400 +++ wireshark-1.8.2-r2.ebuild 2012-09-20 11:32:32.000000000 +0400 @@ -130,13 +130,15 @@ if use adns; then if use libadns; then - myconf+=" --with-adns --without-c-ares" + myconf+=( " --with-adns --without-c-ares" ) else - myconf+=" --without-adns --with-c-ares" + myconf+=( " --without-adns --with-c-ares" ) fi else if use libadns; then - myconf+=" --with-adns --without-c-ares" + myconf+=( " --with-adns --without-c-ares" ) + else + myconf+=( " --without-adns --without-c-ares" ) fi fi # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass @@ -147,7 +149,7 @@ ewarn "Kerberos was built with ssl support: linkage with openssl is enabled." ewarn "Note there are annoying license incompatibilities between the OpenSSL" ewarn "license and the GPL, so do your check before distributing such package." - myconf+=" --with-ssl" + myconf+=( " --with-ssl" ) ;; esac fi @@ -178,7 +180,7 @@ --disable-extra-gcc-checks \ --disable-usr-local \ --sysconfdir="${EPREFIX}"/etc/wireshark \ - ${myconf} + ${myconf[@]} } src_compile() {