1 |
commit: 57d3e16784676109b3f9ffd527e356e9873edda5 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 11 02:49:29 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 11 02:49:29 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d3e167 |
7 |
|
8 |
net-misc/openconnect: Cosmetic cleanup |
9 |
|
10 |
Package-Manager: portage-2.2.26_p25 |
11 |
|
12 |
net-misc/openconnect/openconnect-9999.ebuild | 11 ++++++----- |
13 |
1 file changed, 6 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild |
16 |
index 08beef3..9515779 100644 |
17 |
--- a/net-misc/openconnect/openconnect-9999.ebuild |
18 |
+++ b/net-misc/openconnect/openconnect-9999.ebuild |
19 |
@@ -7,7 +7,9 @@ EAPI=5 |
20 |
PYTHON_COMPAT=( python2_7 ) |
21 |
PYTHON_REQ_USE="xml" |
22 |
|
23 |
-if [[ "${PV}" = "9999" ]]; then |
24 |
+inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo |
25 |
+ |
26 |
+if [[ ${PV} == 9999 ]]; then |
27 |
EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" |
28 |
inherit git-r3 autotools |
29 |
else |
30 |
@@ -18,8 +20,6 @@ VPNC_VER=20140806 |
31 |
SRC_URI="${ARCHIVE_URI} |
32 |
ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz" |
33 |
|
34 |
-inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo |
35 |
- |
36 |
DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" |
37 |
HOMEPAGE="http://www.infradead.org/openconnect.html" |
38 |
|
39 |
@@ -69,16 +69,17 @@ pkg_setup() { |
40 |
} |
41 |
|
42 |
src_unpack() { |
43 |
- if [[ ${PV} = 9999 ]]; then |
44 |
+ if [[ ${PV} == 9999 ]]; then |
45 |
git-r3_src_unpack |
46 |
fi |
47 |
unpack ${A} |
48 |
} |
49 |
|
50 |
src_prepare() { |
51 |
- if [[ "${PV}" = 9999 ]]; then |
52 |
+ if [[ ${PV} == 9999 ]]; then |
53 |
eautoreconf |
54 |
fi |
55 |
+ epatch_user |
56 |
} |
57 |
|
58 |
src_configure() { |