--- /usr/portage/net-misc/openvpn/openvpn-2.0.1.ebuild 2005-08-30 07:05:53.000000000 -0600 +++ openvpn-2.0.1.ebuild 2005-09-10 05:18:27.000000000 -0600 @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ppc ppc-macos sparc x86" -IUSE="examples selinux ssl threads" +IUSE="examples selinux ssl threads static" RDEPEND=">=dev-libs/lzo-1.07 selinux? ( sec-policy/selinux-openvpn ) @@ -30,6 +30,9 @@ $(use_enable ssl crypto) \ $(use_enable threads pthread) \ || die "configure failed" + use static && { + sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile + } emake || die "make failed" }