Lines 11-17
Link Here
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~alpha amd64 ppc ppc-macos sparc x86" |
13 |
KEYWORDS="~alpha amd64 ppc ppc-macos sparc x86" |
14 |
IUSE="examples selinux ssl threads" |
14 |
IUSE="examples selinux ssl threads static" |
15 |
|
15 |
|
16 |
RDEPEND=">=dev-libs/lzo-1.07 |
16 |
RDEPEND=">=dev-libs/lzo-1.07 |
17 |
selinux? ( sec-policy/selinux-openvpn ) |
17 |
selinux? ( sec-policy/selinux-openvpn ) |
Lines 30-35
Link Here
|
30 |
$(use_enable ssl crypto) \ |
30 |
$(use_enable ssl crypto) \ |
31 |
$(use_enable threads pthread) \ |
31 |
$(use_enable threads pthread) \ |
32 |
|| die "configure failed" |
32 |
|| die "configure failed" |
|
|
33 |
use static && { |
34 |
sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile |
35 |
} |
33 |
emake || die "make failed" |
36 |
emake || die "make failed" |
34 |
} |
37 |
} |
35 |
|
38 |
|